summaryrefslogtreecommitdiff
path: root/models/tournament_participants.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/tournament_participants.js')
-rw-r--r--models/tournament_participants.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/tournament_participants.js b/models/tournament_participants.js
index 092f8a8..284ca42 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',