diff options
Diffstat (limited to 'models/tournament_participants.js')
| -rw-r--r-- | models/tournament_participants.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/models/tournament_participants.js b/models/tournament_participants.js index 010a89e..284ca42 100644 --- a/models/tournament_participants.js +++ b/models/tournament_participants.js @@ -8,11 +8,15 @@ module.exports = function(sequelize, DataTypes) { primaryKey: true, autoIncrement: true }, - tournament_id: { + league_id: { type: DataTypes.BIGINT, allowNull: false }, - tournament_team_id: { + team_id: { + type: DataTypes.BIGINT, + allowNull: false + }, + role_id: { type: DataTypes.BIGINT, allowNull: false }, |
