X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fmodels%2Fhistory%2Freport_mail_room_history.js;h=7d0b08a0307b4f61d3ca2da4281281781f473f75;hb=82faada0a29644118ced31e34f5106a55e493f1a;hp=a762fe2f9032eac41f2c8db0ca321d6ff74bd67f;hpb=963e6e9aad8dc2a51fb8e241a5b15964637704fd;p=motion.git diff --git a/server/models/history/report_mail_room_history.js b/server/models/history/report_mail_room_history.js index a762fe2..7d0b08a 100644 --- a/server/models/history/report_mail_room_history.js +++ b/server/models/history/report_mail_room_history.js @@ -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,