From 418e5c253cdbc5d5171b73c221e45a1b551ceaa8 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 1 Apr 2017 13:20:30 +0200 Subject: rm default timestamps, generator broke these --- models/match.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'models/match.js') diff --git a/models/match.js b/models/match.js index 46c4f80..ec5bdab 100644 --- a/models/match.js +++ b/models/match.js @@ -23,8 +23,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.literal('CURRENT_TIMESTAMP') + allowNull: false }, duration: { type: DataTypes.INTEGER(11), -- cgit v1.3.1