From 74ec66b6b08d8635e1e983f29f870542e5a333b9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 10 Apr 2017 16:51:15 +0200 Subject: fixed broken autogen defaults --- 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 7efd63b..0b9f6d9 100644 --- a/models/match.js +++ b/models/match.js @@ -19,8 +19,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false, - defaultValue: sequelize.literal('CURRENT_TIMESTAMP') + allowNull: false }, duration: { type: DataTypes.INTEGER(5).UNSIGNED, -- cgit v1.3.1