Built motion from commit b33b832.|1.0.17
[motion.git] / server / models / int_freshdesk_account.js
index 3c5a42b..c449767 100644 (file)
@@ -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