From c5cd9e53d7413ce960a2170eedb466073175bf80 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 8 Jun 2017 12:42:19 +0200 Subject: import 2.7.0 table changes --- models/match.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/match.js') diff --git a/models/match.js b/models/match.js index 4faf015..f36aa7b 100644 --- a/models/match.js +++ b/models/match.js @@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) { autoIncrement: true }, shard_id: { - type: DataTypes.STRING(191), + type: DataTypes.STRING(5), allowNull: false }, api_id: { @@ -19,7 +19,7 @@ module.exports = function(sequelize, DataTypes) { }, created_at: { type: DataTypes.TIME, - allowNull: false + allowNull: true }, duration: { type: DataTypes.INTEGER(5).UNSIGNED, -- cgit v1.3.1