diff options
Diffstat (limited to 'models/player.js')
| -rw-r--r-- | models/player.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/models/player.js b/models/player.js index 827e9fc..f9eff10 100644 --- a/models/player.js +++ b/models/player.js @@ -9,18 +9,14 @@ module.exports = function(sequelize, DataTypes) { autoIncrement: true }, shard_id: { - type: DataTypes.STRING(191), - allowNull: true + type: DataTypes.STRING(5), + allowNull: false }, api_id: { - type: DataTypes.STRING(191), + type: DataTypes.CHAR(36), allowNull: false, unique: true }, - created_at: { - type: DataTypes.TIME, - allowNull: true - }, name: { type: DataTypes.STRING(191), allowNull: false |
