summaryrefslogtreecommitdiff
path: root/models/participant_item_use.js
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-04-01 21:45:35 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-04-01 21:45:35 +0530
commitb90bbf0acc9dc501b40fe1917c7c0d90f8c46d49 (patch)
tree4d5d9613008d4ebf4ca934e00e10a5ec8bde2817 /models/participant_item_use.js
parent9905677e6d5ebb6f86f7a5d7a25ac05d42029b3d (diff)
downloadorm-b90bbf0acc9dc501b40fe1917c7c0d90f8c46d49.tar.gz
orm-b90bbf0acc9dc501b40fe1917c7c0d90f8c46d49.zip
Participant item use should be null because we use this only in telemetry
Diffstat (limited to 'models/participant_item_use.js')
-rw-r--r--models/participant_item_use.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/participant_item_use.js b/models/participant_item_use.js
index 5dc8c39..d426708 100644
--- a/models/participant_item_use.js
+++ b/models/participant_item_use.js
@@ -23,7 +23,7 @@ module.exports = function(sequelize, DataTypes) {
},
time_from_start: {
type: DataTypes.INTEGER(11),
- allowNull: false
+ allowNull: true
}
}, {
tableName: 'participant_item_use',