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/participant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/participant.js') diff --git a/models/participant.js b/models/participant.js index 5579f31..2f208df 100644 --- a/models/participant.js +++ b/models/participant.js @@ -52,7 +52,7 @@ module.exports = function(sequelize, DataTypes) { created_at: { type: DataTypes.TIME, allowNull: false, - defaultValue: sequelize.fn('current_timestamp') + defaultValue: sequelize.literal('CURRENT_TIMESTAMP') }, actor: { type: DataTypes.STRING(16), -- cgit v1.3.1