mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 20:03:44 +00:00
66d114bfe3
ranked_season_rollovers.season_id has a foreign key into seasons, but the integration test never inserted a seasons row for 'season-1' -- ApplyRankedSeasonRollover failed on the FK constraint before the rollover logic itself ran at all. Insert a matching seasons row, mirroring how a real 12-week season would already exist when maintenance's rollover sweep runs. Verified against a real PostgreSQL instance.