summaryrefslogtreecommitdiff
path: root/models/participant.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-10 16:51:15 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-10 16:51:15 +0200
commit74ec66b6b08d8635e1e983f29f870542e5a333b9 (patch)
tree52aba2e3f97746061ec9d96ecc655373853b11f7 /models/participant.js
parent22afb45c9f9b13b13b5899fc5d66e98259260267 (diff)
downloadorm-74ec66b6b08d8635e1e983f29f870542e5a333b9.tar.gz
orm-74ec66b6b08d8635e1e983f29f870542e5a333b9.zip
fixed broken autogen defaults
Diffstat (limited to 'models/participant.js')
-rw-r--r--models/participant.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/participant.js b/models/participant.js
index c4be804..22381fc 100644
--- a/models/participant.js
+++ b/models/participant.js
@@ -51,8 +51,7 @@ module.exports = function(sequelize, DataTypes) {
},
created_at: {
type: DataTypes.TIME,
- allowNull: false,
- defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
+ allowNull: false
},
actor: {
type: DataTypes.STRING(16),