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
/
report_fax.js
diff --git
a/server/models/report_fax.js
b/server/models/report_fax.js
index
aa8a920
..
e70d37e
100644
(file)
--- a/
server/models/report_fax.js
+++ b/
server/models/report_fax.js
@@
-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');