From 60154a734c5a5e86f48b82db852ce87890f1c624 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 15 Apr 2017 17:52:02 +0200 Subject: rm default timestamps, generator broke these --- models/participant.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'models/participant.js') diff --git a/models/participant.js b/models/participant.js index f508e9b..caa8c80 100644 --- a/models/participant.js +++ b/models/participant.js @@ -51,8 +51,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.literal('CURRENT_TIMESTAMP') + allowNull: false }, actor: { type: DataTypes.STRING(16), -- cgit v1.3.1