Built motion from commit b33b832.|1.0.17
[motion.git] / server / models / history / report_call_history.js
index 3d504a9..483f40a 100644 (file)
@@ -8,7 +8,7 @@ module.exports = function(sequelize, DataTypes) {
     sourceid: DataTypes.INTEGER,
     uniqueid: {
       type: DataTypes.STRING,
-      unique: true
+      unique: 'uniqueid'
     },
     type: {
       type: DataTypes.ENUM,