First steps for tournament

This commit is contained in:
Torsten Schulz
2025-03-13 16:19:07 +01:00
parent df41720b50
commit 821f9d24f5
5 changed files with 111 additions and 16 deletions

View File

@@ -22,6 +22,15 @@ const TournamentMatch = sequelize.define('TournamentMatch', {
type: DataTypes.INTEGER,
allowNull: false,
},
isFinished: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: false,
},
result: {
type: DataTypes.STRING,
allowNull: true,
},
}, {
underscored: true,
tableName: 'tournament_match',