Skip to content

Commit

Permalink
Add third season (#52)
Browse files Browse the repository at this point in the history
This removes the 4v4 no share leaderboard
  • Loading branch information
BlackYps authored Jun 30, 2022
1 parent a668f95 commit 52ab4ff
Showing 1 changed file with 107 additions and 0 deletions.
107 changes: 107 additions & 0 deletions migrations/V014__add_third_season.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
SET time_zone='+00:00';

-- season starts and ends at noon, so that all timezones see the same date in the client
INSERT INTO league_season (id, league_id, leaderboard_id, placement_games, season_number, name_key, start_date, end_date) VALUES
(9, 1, 2, 10, 3, "1v1_season", "2022-07-01 12:00:00", "2022-09-30 12:00:00"),
(10, 2, 3, 10, 3, "2v2_season", "2022-07-01 12:00:00", "2022-09-30 12:00:00"),
(11, 3, 4, 10, 3, "4v4_fs_season", "2022-07-01 12:00:00", "2022-09-30 12:00:00");

INSERT INTO league_season_division (id, league_season_id, division_index, description_key, name_key) VALUES
( 1 + 48, 9, 1, "1v1_season_3.division.1", "bronze"),
( 2 + 48, 9, 2, "1v1_season_3.division.2", "silver"),
( 3 + 48, 9, 3, "1v1_season_3.division.3", "gold"),
( 4 + 48, 9, 4, "1v1_season_3.division.4", "diamond"),
( 5 + 48, 9, 5, "1v1_season_3.division.5", "master"),
( 6 + 48, 9, 6, "1v1_season_3.division.6", "grandmaster"),
( 7 + 48, 10, 1, "2v2_season_3.division.1", "bronze"),
( 8 + 48, 10, 2, "2v2_season_3.division.2", "silver"),
( 9 + 48, 10, 3, "2v2_season_3.division.3", "gold"),
(10 + 48, 10, 4, "2v2_season_3.division.4", "diamond"),
(11 + 48, 10, 5, "2v2_season_3.division.5", "master"),
(12 + 48, 10, 6, "2v2_season_3.division.6", "grandmaster"),
(13 + 48, 11, 1, "4v4_fs_season_3.division.1", "bronze"),
(14 + 48, 11, 2, "4v4_fs_season_3.division.2", "silver"),
(15 + 48, 11, 3, "4v4_fs_season_3.division.3", "gold"),
(16 + 48, 11, 4, "4v4_fs_season_3.division.4", "diamond"),
(17 + 48, 11, 5, "4v4_fs_season_3.division.5", "master"),
(18 + 48, 11, 6, "4v4_fs_season_3.division.6", "grandmaster");

INSERT INTO league_season_division_subdivision (league_season_division_id, subdivision_index, description_key, min_rating, max_rating, highest_score, name_key) VALUES
( 1 + 48, 1, "1v1_season_3.subdivision.1.1", -800, -40, 10, "V"),
( 1 + 48, 2, "1v1_season_3.subdivision.1.2", -40, 45, 10, "IV"),
( 1 + 48, 3, "1v1_season_3.subdivision.1.3", 45, 130, 10, "III"),
( 1 + 48, 4, "1v1_season_3.subdivision.1.4", 130, 215, 10, "II"),
( 1 + 48, 5, "1v1_season_3.subdivision.1.5", 215, 300, 10, "I"),
( 2 + 48, 1, "1v1_season_3.subdivision.2.1", 300, 385, 10, "V"),
( 2 + 48, 2, "1v1_season_3.subdivision.2.2", 385, 470, 10, "IV"),
( 2 + 48, 3, "1v1_season_3.subdivision.2.3", 470, 555, 10, "III"),
( 2 + 48, 4, "1v1_season_3.subdivision.2.4", 555, 640, 10, "II"),
( 2 + 48, 5, "1v1_season_3.subdivision.2.5", 640, 725, 10, "I"),
( 3 + 48, 1, "1v1_season_3.subdivision.3.1", 725, 810, 10, "V"),
( 3 + 48, 2, "1v1_season_3.subdivision.3.2", 810, 895, 10, "IV"),
( 3 + 48, 3, "1v1_season_3.subdivision.3.3", 895, 980, 10, "III"),
( 3 + 48, 4, "1v1_season_3.subdivision.3.4", 980, 1065, 10, "II"),
( 3 + 48, 5, "1v1_season_3.subdivision.3.5", 1065, 1150, 10, "I"),
( 4 + 48, 1, "1v1_season_3.subdivision.4.1", 1150, 1235, 10, "V"),
( 4 + 48, 2, "1v1_season_3.subdivision.4.2", 1235, 1320, 10, "IV"),
( 4 + 48, 3, "1v1_season_3.subdivision.4.3", 1320, 1405, 10, "III"),
( 4 + 48, 4, "1v1_season_3.subdivision.4.4", 1405, 1490, 10, "II"),
( 4 + 48, 5, "1v1_season_3.subdivision.4.5", 1490, 1575, 10, "I"),
( 5 + 48, 1, "1v1_season_3.subdivision.5.1", 1575, 1660, 10, "V"),
( 5 + 48, 2, "1v1_season_3.subdivision.5.2", 1660, 1745, 10, "IV"),
( 5 + 48, 3, "1v1_season_3.subdivision.5.3", 1745, 1830, 10, "III"),
( 5 + 48, 4, "1v1_season_3.subdivision.5.4", 1830, 1915, 10, "II"),
( 5 + 48, 5, "1v1_season_3.subdivision.5.5", 1915, 2000, 10, "I"),
( 6 + 48, 1, "1v1_season_3.subdivision.6.1", 2000, 2850, 100, ""),
( 7 + 48, 1, "2v2_season_3.subdivision.1.1", -800, -40, 10, "V"),
( 7 + 48, 2, "2v2_season_3.subdivision.1.2", -40, 45, 10, "IV"),
( 7 + 48, 3, "2v2_season_3.subdivision.1.3", 45, 130, 10, "III"),
( 7 + 48, 4, "2v2_season_3.subdivision.1.4", 130, 215, 10, "II"),
( 7 + 48, 5, "2v2_season_3.subdivision.1.5", 215, 300, 10, "I"),
( 8 + 48, 1, "2v2_season_3.subdivision.2.1", 300, 385, 10, "V"),
( 8 + 48, 2, "2v2_season_3.subdivision.2.2", 385, 470, 10, "IV"),
( 8 + 48, 3, "2v2_season_3.subdivision.2.3", 470, 555, 10, "III"),
( 8 + 48, 4, "2v2_season_3.subdivision.2.4", 555, 640, 10, "II"),
( 8 + 48, 5, "2v2_season_3.subdivision.2.5", 640, 725, 10, "I"),
( 9 + 48, 1, "2v2_season_3.subdivision.3.1", 725, 810, 10, "V"),
( 9 + 48, 2, "2v2_season_3.subdivision.3.2", 810, 895, 10, "IV"),
( 9 + 48, 3, "2v2_season_3.subdivision.3.3", 895, 980, 10, "III"),
( 9 + 48, 4, "2v2_season_3.subdivision.3.4", 980, 1065, 10, "II"),
( 9 + 48, 5, "2v2_season_3.subdivision.3.5", 1065, 1150, 10, "I"),
(10 + 48, 1, "2v2_season_3.subdivision.4.1", 1150, 1235, 10, "V"),
(10 + 48, 2, "2v2_season_3.subdivision.4.2", 1235, 1320, 10, "IV"),
(10 + 48, 3, "2v2_season_3.subdivision.4.3", 1320, 1405, 10, "III"),
(10 + 48, 4, "2v2_season_3.subdivision.4.4", 1405, 1490, 10, "II"),
(10 + 48, 5, "2v2_season_3.subdivision.4.5", 1490, 1575, 10, "I"),
(11 + 48, 1, "2v2_season_3.subdivision.5.1", 1575, 1660, 10, "V"),
(11 + 48, 2, "2v2_season_3.subdivision.5.2", 1660, 1745, 10, "IV"),
(11 + 48, 3, "2v2_season_3.subdivision.5.3", 1745, 1830, 10, "III"),
(11 + 48, 4, "2v2_season_3.subdivision.5.4", 1830, 1915, 10, "II"),
(11 + 48, 5, "2v2_season_3.subdivision.5.5", 1915, 2000, 10, "I"),
(12 + 48, 1, "2v2_season_3.subdivision.6.1", 2000, 2850, 100, ""),
(13 + 48, 1, "4v4_fs_season_3.subdivision.1.1", -800, -40, 10, "V"),
(13 + 48, 2, "4v4_fs_season_3.subdivision.1.2", -40, 45, 10, "IV"),
(13 + 48, 3, "4v4_fs_season_3.subdivision.1.3", 45, 130, 10, "III"),
(13 + 48, 4, "4v4_fs_season_3.subdivision.1.4", 130, 215, 10, "II"),
(13 + 48, 5, "4v4_fs_season_3.subdivision.1.5", 215, 300, 10, "I"),
(14 + 48, 1, "4v4_fs_season_3.subdivision.2.1", 300, 385, 10, "V"),
(14 + 48, 2, "4v4_fs_season_3.subdivision.2.2", 385, 470, 10, "IV"),
(14 + 48, 3, "4v4_fs_season_3.subdivision.2.3", 470, 555, 10, "III"),
(14 + 48, 4, "4v4_fs_season_3.subdivision.2.4", 555, 640, 10, "II"),
(14 + 48, 5, "4v4_fs_season_3.subdivision.2.5", 640, 725, 10, "I"),
(15 + 48, 1, "4v4_fs_season_3.subdivision.3.1", 725, 810, 10, "V"),
(15 + 48, 2, "4v4_fs_season_3.subdivision.3.2", 810, 895, 10, "IV"),
(15 + 48, 3, "4v4_fs_season_3.subdivision.3.3", 895, 980, 10, "III"),
(15 + 48, 4, "4v4_fs_season_3.subdivision.3.4", 980, 1065, 10, "II"),
(15 + 48, 5, "4v4_fs_season_3.subdivision.3.5", 1065, 1150, 10, "I"),
(16 + 48, 1, "4v4_fs_season_3.subdivision.4.1", 1150, 1235, 10, "V"),
(16 + 48, 2, "4v4_fs_season_3.subdivision.4.2", 1235, 1320, 10, "IV"),
(16 + 48, 3, "4v4_fs_season_3.subdivision.4.3", 1320, 1405, 10, "III"),
(16 + 48, 4, "4v4_fs_season_3.subdivision.4.4", 1405, 1490, 10, "II"),
(16 + 48, 5, "4v4_fs_season_3.subdivision.4.5", 1490, 1575, 10, "I"),
(17 + 48, 1, "4v4_fs_season_3.subdivision.5.1", 1575, 1660, 10, "V"),
(17 + 48, 2, "4v4_fs_season_3.subdivision.5.2", 1660, 1745, 10, "IV"),
(17 + 48, 3, "4v4_fs_season_3.subdivision.5.3", 1745, 1830, 10, "III"),
(17 + 48, 4, "4v4_fs_season_3.subdivision.5.4", 1830, 1915, 10, "II"),
(17 + 48, 5, "4v4_fs_season_3.subdivision.5.5", 1915, 2000, 10, "I"),
(18 + 48, 1, "4v4_fs_season_3.subdivision.6.1", 2000, 2850, 100, "");

0 comments on commit 52ab4ff

Please sign in to comment.