git://repos.xcallymotion.com
/
motion.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit b33b832.|1.0.17
[motion.git]
/
server
/
models
/
int_freshdesk_account.js
diff --git
a/server/models/int_freshdesk_account.js
b/server/models/int_freshdesk_account.js
index
3c5a42b
..
c449767
100644
(file)
--- a/
server/models/int_freshdesk_account.js
+++ b/
server/models/int_freshdesk_account.js
@@
-6,11
+6,11
@@
module.exports = function(sequelize, DataTypes) {
description: DataTypes.STRING,
username: {
type: DataTypes.STRING,
- unique: true
+ unique: 'username'
},
remoteUri: {
type: DataTypes.STRING,
- unique: true
+ unique: 'remoteUri'
},
apiKey: DataTypes.STRING,
serverUrl: DataTypes.STRING