Built motion from commit b33b832.|1.0.17
[motion.git] / server / models / report_fax.js
index aa8a920..e70d37e 100644 (file)
@@ -22,7 +22,7 @@ module.exports = function(sequelize, DataTypes) {
     },
     connectid: {
       type: DataTypes.STRING,
-      unique: true,
+      unique: 'connectid',
       set: function(connectid) {
         this.setDataValue('connectid', connectid);
         this.setDataValue('reason', 'connect');