From d6e50e21163c90b7263c9ed1b09a5a39073f7006 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 27 Jul 2017 13:30:46 +0200 Subject: reimport --- models/tournament_participants.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'models/tournament_participants.js') 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', -- cgit v1.3.1