feat(tournament): add sourceUrl field and implement repair logic for tournaments
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 16m19s

This commit is contained in:
Torsten Schulz (local)
2026-09-04 13:12:01 +02:00
parent c16883f381
commit fe152d537d
4 changed files with 91 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ const OfficialTournament = sequelize.define('OfficialTournament', {
competitionTypes: { type: DataTypes.TEXT, allowNull: true }, // JSON.stringify(Array)
registrationDeadlines: { type: DataTypes.TEXT, allowNull: true }, // JSON.stringify(Array)
entryFees: { type: DataTypes.TEXT, allowNull: true }, // JSON.stringify(Object) - Teilnahmegebühren pro Spielklasse
sourceUrl: { type: DataTypes.STRING(1000), allowNull: true, field: 'source_url' },
}, {
tableName: 'official_tournaments',
timestamps: true,
@@ -20,4 +21,3 @@ const OfficialTournament = sequelize.define('OfficialTournament', {
export default OfficialTournament;