mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 17:13:44 +00:00
feat: persist ranked season rollovers
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user