feat: persist ranked season rollovers

This commit is contained in:
Josh Creek
2026-08-31 21:43:07 +01:00
parent bf4da9fd39
commit 4b5e40bff7
6 changed files with 82 additions and 3 deletions
+2
View File
@@ -38,6 +38,8 @@ class MigrationTest(unittest.TestCase):
def test_seasons_are_ranked_only_and_penalties_are_durable(self):
self.assertIn("CHECK (playlist = 'ranked')", SQL)
self.assertIn("CREATE TABLE penalties", SQL)
self.assertIn("CREATE TABLE ranked_season_rollovers", SQL)
self.assertIn("PRIMARY KEY (player_id, season_id)", SQL)
self.assertIn("REFERENCES identities(player_id)", SQL)
self.assertIn("REFERENCES matches(match_id)", SQL)