This website requires JavaScript.
Explore
Help
Sign in
chrisp
/
brackt
Watch
1
Star
1
Fork
You've already forked brackt
0
Code
Issues
42
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
ce0ed4f485
brackt
/
drizzle
/
0093_ambiguous_hellcat.sql
1 line
47 B
MySQL
Raw
Normal View
History
Unescape
Escape
Remove sports_season_tournaments junction table — derive from scoring_events (#373) The junction table was a redundant second source of truth: syncTournamentResults already fans out by querying scoring_events.tournamentId directly, so the table only served the admin UI and could drift out of sync (causing orphaned events). - Drop sports_season_tournaments table and all link/unlink admin actions - Add getTournamentsBySportsSeason / getSportsSeasonsByTournament helpers that derive the same information from scoring_events.tournamentId - Add "Add Existing Tournament" dropdown to the events admin page (qualifying_points seasons only) — selecting a tournament creates the scoring event in one step - Fix clone: scoring events now carry tournamentId, fixing a latent check-constraint violation when cloning qualifying_points seasons - Tournament admin page "Linked Sports Seasons" is now a read-only derived view Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 22:19:59 -07:00
DROP
TABLE
"
sports_season_tournaments
"
CASCADE
;
Reference in a new issue
Copy permalink