Built motion from commit b33b832.|1.0.17
[motion.git] / server / models / history / report_mail_room_history.js
index a762fe2..7d0b08a 100644 (file)
@@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) {
   var ReportMailRoomHistory = sequelize.define('ReportMailRoomHistory', {
     uniqueid: {
       type: DataTypes.STRING,
-      unique: true
+      unique: 'uniqueid'
     },
     subject: DataTypes.STRING,
     accountid: DataTypes.STRING,