From dd2a4f706f20b83144e637896c55c550afa7030a Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 14 Jul 2017 18:58:17 +0200 Subject: 2.14.0 rewrite --- models/tournament_participants.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'models/tournament_participants.js') 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 }, -- cgit v1.3.1