diff options
Diffstat (limited to 'models/player.js')
| -rw-r--r-- | models/player.js | 5 |
1 files changed, 2 insertions, 3 deletions
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, |
