git://repos.xcallymotion.com
/
motion.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit b33b832.|1.0.17
[motion.git]
/
server
/
models
/
history
/
report_mail_history.js
diff --git
a/server/models/history/report_mail_history.js
b/server/models/history/report_mail_history.js
index
185b8a3
..
ce5f025
100644
(file)
--- a/
server/models/history/report_mail_history.js
+++ b/
server/models/history/report_mail_history.js
@@
-27,7
+27,7
@@
module.exports = function(sequelize, DataTypes) {
},
connectid: {
type: DataTypes.STRING,
- unique: true
+ unique: 'connectid'
},
calledAt: DataTypes.DATE,
connectedAt: DataTypes.DATE,