X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fmodels%2Fint_freshdesk_account.js;h=c44976735340d1908170b2ee72a1efe7b7209d66;hb=82faada0a29644118ced31e34f5106a55e493f1a;hp=3c5a42bae815b09cf037f72b1af465af8890d3c5;hpb=963e6e9aad8dc2a51fb8e241a5b15964637704fd;p=motion.git diff --git a/server/models/int_freshdesk_account.js b/server/models/int_freshdesk_account.js index 3c5a42b..c449767 100644 --- 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