Skip to content

Commit

Permalink
Change league names to snake case (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps authored Nov 12, 2021
1 parent d32fe8c commit 487a631
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions migrations/V009__change_league_names.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
UPDATE league SET technical_name = "2v2_league", name_key = "2v2_league.name", description_key = "2v2_league.description"
WHERE id = 1;
UPDATE league SET technical_name = "1v1_league", name_key = "1v1_league.name", description_key = "1v1_league.description"
WHERE id = 2;

UPDATE league_season SET name_key = "2v2_league.season.1" WHERE id = 1;
UPDATE league_season SET name_key = "1v1_league.season.1" WHERE id = 2;
UPDATE league_season SET name_key = "2v2_league.season.2" WHERE id = 3;
UPDATE league_season SET name_key = "1v1_league.season.2" WHERE id = 4;

0 comments on commit 487a631

Please sign in to comment.