From 6a1d82c1536a0893156144db4f19d8023a93ee32 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 15 Aug 2017 20:07:05 +0200 Subject: update participant_phases for blobs --- models/match.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/match.js') 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, -- cgit v1.3.1