summaryrefslogtreecommitdiff
path: root/models/match.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/match.js
parentd95b8a5f1708463715e9e86b0121089b49c362bb (diff)
downloadorm-release/2.0.0.tar.gz
orm-release/2.0.0.zip
rm default timestamps, generator broke theserelease/2.0.0
Diffstat (limited to 'models/match.js')
-rw-r--r--models/match.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/match.js b/models/match.js
index 7efd63b..0b9f6d9 100644
--- a/models/match.js
+++ b/models/match.js
@@ -19,8 +19,7 @@ module.exports = function(sequelize, DataTypes) {
},
created_at: {
type: DataTypes.TIME,
- allowNull: false,
- defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
+ allowNull: false
},
duration: {
type: DataTypes.INTEGER(5).UNSIGNED,