diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-15 20:07:05 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-08-15 20:07:05 +0200 |
| commit | 6a1d82c1536a0893156144db4f19d8023a93ee32 (patch) | |
| tree | c37c5267a3612786d6c994916bdc10a5baa0b122 /models/match.js | |
| parent | 93e91315ee7161b581f7f9e2a7e3fd9f82a2ba2b (diff) | |
| download | orm-6a1d82c1536a0893156144db4f19d8023a93ee32.tar.gz orm-6a1d82c1536a0893156144db4f19d8023a93ee32.zip | |
update participant_phases for blobs
Diffstat (limited to 'models/match.js')
| -rw-r--r-- | models/match.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/match.js b/models/match.js index dfc0b71..5ded026 100644 --- a/models/match.js +++ b/models/match.js @@ -20,7 +20,7 @@ module.exports = function(sequelize, DataTypes) { created_at: { type: DataTypes.TIME, allowNull: false, - defaultValue: sequelize.fn('current_timestamp') + defaultValue: sequelize.literal('CURRENT_TIMESTAMP') }, duration: { type: DataTypes.INTEGER(5).UNSIGNED, |
