summaryrefslogtreecommitdiff
path: root/models/tournament_participants.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-08-15 20:07:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-08-15 20:07:05 +0200
commit6a1d82c1536a0893156144db4f19d8023a93ee32 (patch)
treec37c5267a3612786d6c994916bdc10a5baa0b122 /models/tournament_participants.js
parent93e91315ee7161b581f7f9e2a7e3fd9f82a2ba2b (diff)
downloadorm-6a1d82c1536a0893156144db4f19d8023a93ee32.tar.gz
orm-6a1d82c1536a0893156144db4f19d8023a93ee32.zip
update participant_phases for blobs
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',