summaryrefslogtreecommitdiff
path: root/models/match.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-08-15 20:07:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-08-15 20:07:05 +0200
commit6a1d82c1536a0893156144db4f19d8023a93ee32 (patch)
treec37c5267a3612786d6c994916bdc10a5baa0b122 /models/match.js
parent93e91315ee7161b581f7f9e2a7e3fd9f82a2ba2b (diff)
downloadorm-6a1d82c1536a0893156144db4f19d8023a93ee32.tar.gz
orm-6a1d82c1536a0893156144db4f19d8023a93ee32.zip
update participant_phases for blobs
Diffstat (limited to 'models/match.js')
-rw-r--r--models/match.js2
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,