summaryrefslogtreecommitdiff
path: root/models/participant.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-15 17:52:02 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-15 17:52:02 +0200
commit60154a734c5a5e86f48b82db852ce87890f1c624 (patch)
treef28e7bf204ef19141240e8c27ad534122ae360ad /models/participant.js
parentd95b8a5f1708463715e9e86b0121089b49c362bb (diff)
downloadorm-60154a734c5a5e86f48b82db852ce87890f1c624.tar.gz
orm-60154a734c5a5e86f48b82db852ce87890f1c624.zip
rm default timestamps, generator broke theserelease/2.0.0
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 f508e9b..caa8c80 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),