feat(matches): add manual match creation functionality and related fields
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 59s

This commit is contained in:
Torsten Schulz (local)
2026-08-19 13:43:16 +02:00
parent dc447acf57
commit d251d40868
9 changed files with 261 additions and 9 deletions

View File

@@ -127,6 +127,17 @@ const Match = sequelize.define('Match', {
comment: 'Array of member IDs who actually played',
field: 'players_played'
},
fixtureType: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: 'league',
field: 'fixture_type'
},
notes: {
type: DataTypes.TEXT,
allowNull: true,
field: 'notes'
},
}, {
underscored: true,
tableName: 'match',