diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-27 13:30:46 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-07-27 13:30:46 +0200 |
| commit | d6e50e21163c90b7263c9ed1b09a5a39073f7006 (patch) | |
| tree | 9943dc74b64cf615f7098b87426bfd94db216d69 /models/tournament_participants.js | |
| parent | f53e7393d3520b6a81b09ddf95640a1b74743e13 (diff) | |
| download | orm-release/2.14.0.tar.gz orm-release/2.14.0.zip | |
reimportrelease/2.14.0
Diffstat (limited to 'models/tournament_participants.js')
| -rw-r--r-- | models/tournament_participants.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/tournament_participants.js b/models/tournament_participants.js index 284ca42..092f8a8 100644 --- a/models/tournament_participants.js +++ b/models/tournament_participants.js @@ -16,13 +16,13 @@ module.exports = function(sequelize, DataTypes) { type: DataTypes.BIGINT, allowNull: false }, - role_id: { - type: DataTypes.BIGINT, - allowNull: false - }, player_api_id: { type: DataTypes.CHAR(36), allowNull: false + }, + role_id: { + type: DataTypes.INTEGER(11), + allowNull: true } }, { tableName: 'tournament_participants', |
