summaryrefslogtreecommitdiff
path: root/models/tournament_participants.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-07-27 13:30:46 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-07-27 13:30:46 +0200
commitd6e50e21163c90b7263c9ed1b09a5a39073f7006 (patch)
tree9943dc74b64cf615f7098b87426bfd94db216d69 /models/tournament_participants.js
parentf53e7393d3520b6a81b09ddf95640a1b74743e13 (diff)
downloadorm-release/2.14.0.tar.gz
orm-release/2.14.0.zip
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 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',