diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-07 17:55:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-07 17:55:03 +0200 |
| commit | d4380da66020f2a3d496715d14b637a868c81614 (patch) | |
| tree | c2d20f90139c7fbb10c1855b3e79e4d525c9a992 /models/player.js | |
| parent | 3493a5bff6d622ccb8f1eba1c72bd939a418c1c5 (diff) | |
| download | orm-d4380da66020f2a3d496715d14b637a868c81614.tar.gz orm-d4380da66020f2a3d496715d14b637a868c81614.zip | |
reimport after breaking changes
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 |
