From 5728d5af42984bca49e30528d77c15169e4bcce0 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 12 Jun 2017 15:50:39 +0200 Subject: 2.7.0 phase changes --- models/player.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'models/player.js') diff --git a/models/player.js b/models/player.js index ba20381..6e47161 100644 --- a/models/player.js +++ b/models/player.js @@ -9,7 +9,7 @@ module.exports = function(sequelize, DataTypes) { autoIncrement: true }, shard_id: { - type: DataTypes.STRING(5), + type: DataTypes.STRING(191), allowNull: false }, api_id: { @@ -19,8 +19,7 @@ module.exports = function(sequelize, DataTypes) { }, name: { type: DataTypes.STRING(191), - allowNull: false, - defaultValue: "" + allowNull: false }, last_match_created_date: { type: DataTypes.TIME, -- cgit v1.3.1