feat(tournament): add sourceUrl field and implement repair logic for tournaments
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 16m19s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 16m19s
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user