diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 13:20:30 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-01 13:20:30 +0200 |
| commit | 418e5c253cdbc5d5171b73c221e45a1b551ceaa8 (patch) | |
| tree | 8f2147d647f52697e774aadccdcf00ae090e7420 /models/match.js | |
| parent | 25e66d9cb0e02764aece94873f7a459b1d48e5a3 (diff) | |
| download | orm-418e5c253cdbc5d5171b73c221e45a1b551ceaa8.tar.gz orm-418e5c253cdbc5d5171b73c221e45a1b551ceaa8.zip | |
rm default timestamps, generator broke these
Diffstat (limited to 'models/match.js')
| -rw-r--r-- | models/match.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/models/match.js b/models/match.js index 46c4f80..ec5bdab 100644 --- a/models/match.js +++ b/models/match.js @@ -23,8 +23,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.literal('CURRENT_TIMESTAMP') + allowNull: false }, duration: { type: DataTypes.INTEGER(11), |
