diff options
Diffstat (limited to 'backend/database')
| -rw-r--r-- | backend/database/init.sql | 1 | ||||
| -rw-r--r-- | backend/database/maps.sql | 222 |
2 files changed, 112 insertions, 111 deletions
diff --git a/backend/database/init.sql b/backend/database/init.sql index 345cee3..f5d380c 100644 --- a/backend/database/init.sql +++ b/backend/database/init.sql | |||
| @@ -22,6 +22,7 @@ CREATE TABLE maps ( | |||
| 22 | id SMALLSERIAL, | 22 | id SMALLSERIAL, |
| 23 | map_name TEXT NOT NULL, | 23 | map_name TEXT NOT NULL, |
| 24 | wr_score SMALLINT NOT NULL, | 24 | wr_score SMALLINT NOT NULL, |
| 25 | wr_time INTEGER NOT NULL, | ||
| 25 | is_coop BOOLEAN NOT NULL, | 26 | is_coop BOOLEAN NOT NULL, |
| 26 | is_disabled BOOLEAN NOT NULL DEFAULT false, | 27 | is_disabled BOOLEAN NOT NULL DEFAULT false, |
| 27 | PRIMARY KEY (id) | 28 | PRIMARY KEY (id) |
diff --git a/backend/database/maps.sql b/backend/database/maps.sql index e67d7e8..127eb58 100644 --- a/backend/database/maps.sql +++ b/backend/database/maps.sql | |||
| @@ -1,129 +1,129 @@ | |||
| 1 | DELETE FROM maps; | 1 | DELETE FROM maps; |
| 2 | INSERT INTO maps (map_name, wr_score, is_coop, is_disabled) VALUES | 2 | INSERT INTO maps (map_name, wr_score, wr_time, is_coop, is_disabled) VALUES |
| 3 | -- Singleplayer | 3 | -- Singleplayer |
| 4 | -- 1 | 4 | -- 1 |
| 5 | ('Container Ride',0,false,true), | 5 | ('Container Ride',0,-1,false,true), |
| 6 | ('Portal Carousel',0,false,true), | 6 | ('Portal Carousel',0,-1,false,true), |
| 7 | ('Portal Gun',0,false,false), | 7 | ('Portal Gun',0,-1,false,false), |
| 8 | ('Smooth Jazz',0,false,false), | 8 | ('Smooth Jazz',0,-1,false,false), |
| 9 | ('Cube Momentum',1,false,false), | 9 | ('Cube Momentum',1,-1,false,false), |
| 10 | ('Future Starter',2,false,false), | 10 | ('Future Starter',2,-1,false,false), |
| 11 | ('Secret Panel',0,false,false), | 11 | ('Secret Panel',0,-1,false,false), |
| 12 | ('Wakeup',0,false,true), | 12 | ('Wakeup',0,-1,false,true), |
| 13 | ('Incinerator',0,false,false), | 13 | ('Incinerator',0,-1,false,false), |
| 14 | -- 2 | 14 | -- 2 |
| 15 | ('Laser Intro',0,false,false), | 15 | ('Laser Intro',0,-1,false,false), |
| 16 | ('Laser Stairs',0,false,false), | 16 | ('Laser Stairs',0,-1,false,false), |
| 17 | ('Dual Lasers',2,false,false), | 17 | ('Dual Lasers',2,-1,false,false), |
| 18 | ('Laser Over Goo',0,false,false), | 18 | ('Laser Over Goo',0,-1,false,false), |
| 19 | ('Catapult Intro',0,false,true), | 19 | ('Catapult Intro',0,-1,false,true), |
| 20 | ('Trust Fling',2,false,false), | 20 | ('Trust Fling',2,-1,false,false), |
| 21 | ('Pit Flings',0,false,false), | 21 | ('Pit Flings',0,-1,false,false), |
| 22 | ('Fizzler Intro',2,false,false), | 22 | ('Fizzler Intro',2,-1,false,false), |
| 23 | -- 3 | 23 | -- 3 |
| 24 | ('Ceiling Catapult',0,false,false), | 24 | ('Ceiling Catapult',0,-1,false,false), |
| 25 | ('Ricochet',2,false,false), | 25 | ('Ricochet',2,-1,false,false), |
| 26 | ('Bridge Intro',2,false,false), | 26 | ('Bridge Intro',2,-1,false,false), |
| 27 | ('Bridge The Gap',0,false,false), | 27 | ('Bridge The Gap',0,-1,false,false), |
| 28 | ('Turret Intro',0,false,false), | 28 | ('Turret Intro',0,-1,false,false), |
| 29 | ('Laser Relays',0,false,false), | 29 | ('Laser Relays',0,-1,false,false), |
| 30 | ('Turret Blocker',0,false,false), | 30 | ('Turret Blocker',0,-1,false,false), |
| 31 | ('Laser vs Turret',0,false,false), | 31 | ('Laser vs Turret',0,-1,false,false), |
| 32 | ('Pull The Rug',0,false,false), | 32 | ('Pull The Rug',0,-1,false,false), |
| 33 | -- 4 | 33 | -- 4 |
| 34 | ('Column Blocker',0,false,false), | 34 | ('Column Blocker',0,-1,false,false), |
| 35 | ('Laser Chaining',0,false,false), | 35 | ('Laser Chaining',0,-1,false,false), |
| 36 | ('Triple Laser',0,false,false), | 36 | ('Triple Laser',0,-1,false,false), |
| 37 | ('Jail Break',2,false,false), | 37 | ('Jail Break',2,-1,false,false), |
| 38 | ('Escape',0,false,false), | 38 | ('Escape',0,-1,false,false), |
| 39 | -- 5 | 39 | -- 5 |
| 40 | ('Turret Factory',5,false,false), | 40 | ('Turret Factory',5,-1,false,false), |
| 41 | ('Turret Sabotage',4,false,false), | 41 | ('Turret Sabotage',4,-1,false,false), |
| 42 | ('Neurotoxin Sabotage',0,false,false), | 42 | ('Neurotoxin Sabotage',0,-1,false,false), |
| 43 | ('Core',2,false,false), | 43 | ('Core',2,-1,false,false), |
| 44 | -- 6 | 44 | -- 6 |
| 45 | ('Underground',4,false,false), | 45 | ('Underground',4,-1,false,false), |
| 46 | ('Cave Johnson',4,false,false), | 46 | ('Cave Johnson',4,-1,false,false), |
| 47 | ('Repulsion Intro',0,false,false), | 47 | ('Repulsion Intro',0,-1,false,false), |
| 48 | ('Bomb Flings',3,false,false), | 48 | ('Bomb Flings',3,-1,false,false), |
| 49 | ('Crazy Box',0,false,false), | 49 | ('Crazy Box',0,-1,false,false), |
| 50 | ('PotatOS',5,false,false), | 50 | ('PotatOS',5,-1,false,false), |
| 51 | -- 7 | 51 | -- 7 |
| 52 | ('Propulsion Intro',2,false,false), | 52 | ('Propulsion Intro',2,-1,false,false), |
| 53 | ('Propulsion Flings',0,false,false), | 53 | ('Propulsion Flings',0,-1,false,false), |
| 54 | ('Conversion Intro',9,false,false), | 54 | ('Conversion Intro',9,-1,false,false), |
| 55 | ('Three Gels',4,false,false), | 55 | ('Three Gels',4,-1,false,false), |
| 56 | -- 8 | 56 | -- 8 |
| 57 | ('Test',2,false,false), | 57 | ('Test',2,-1,false,false), |
| 58 | ('Funnel Intro',0,false,false), | 58 | ('Funnel Intro',0,-1,false,false), |
| 59 | ('Ceiling Button',0,false,false), | 59 | ('Ceiling Button',0,-1,false,false), |
| 60 | ('Wall Button',0,false,false), | 60 | ('Wall Button',0,-1,false,false), |
| 61 | ('Polarity',0,false,false), | 61 | ('Polarity',0,-1,false,false), |
| 62 | ('Funnel Catch',2,false,false), | 62 | ('Funnel Catch',2,-1,false,false), |
| 63 | ('Stop The Box',0,false,false), | 63 | ('Stop The Box',0,-1,false,false), |
| 64 | ('Laser Catapult',0,false,false), | 64 | ('Laser Catapult',0,-1,false,false), |
| 65 | ('Laser Platform',3,false,false), | 65 | ('Laser Platform',3,-1,false,false), |
| 66 | ('Propulsion Catch',0,false,false), | 66 | ('Propulsion Catch',0,-1,false,false), |
| 67 | ('Repulsion Polarity',2,false,false), | 67 | ('Repulsion Polarity',2,-1,false,false), |
| 68 | -- 9 | 68 | -- 9 |
| 69 | ('Finale 1',0,false,false), | 69 | ('Finale 1',0,-1,false,false), |
| 70 | ('Finale 2',2,false,false), | 70 | ('Finale 2',2,-1,false,false), |
| 71 | ('Finale 3',6,false,false), | 71 | ('Finale 3',6,-1,false,false), |
| 72 | ('Finale 4',6,false,false), | 72 | ('Finale 4',6,-1,false,false), |
| 73 | -- Coop | 73 | -- Coop |
| 74 | -- 1 | 74 | -- 1 |
| 75 | ('Calibration',4,true,false), | 75 | ('Calibration',4,-1,true,false), |
| 76 | ('Hub',0,false,true), | 76 | ('Hub',0,-1,false,true), |
| 77 | ('Doors',0,true,false), | 77 | ('Doors',0,-1,true,false), |
| 78 | ('Buttons',2,true,false), | 78 | ('Buttons',2,-1,true,false), |
| 79 | ('Lasers',3,true,false), | 79 | ('Lasers',3,-1,true,false), |
| 80 | ('Rat Maze',2,true,false), | 80 | ('Rat Maze',2,-1,true,false), |
| 81 | ('Laser Crusher',0,true,false), | 81 | ('Laser Crusher',0,-1,true,false), |
| 82 | ('Behind The Scenes',0,true,false), | 82 | ('Behind The Scenes',0,-1,true,false), |
| 83 | -- 2 | 83 | -- 2 |
| 84 | ('Flings',4,true,false), | 84 | ('Flings',4,-1,true,false), |
| 85 | ('Infinifling',0,true,false), | 85 | ('Infinifling',0,-1,true,false), |
| 86 | ('Team Retrieval',0,true,false), | 86 | ('Team Retrieval',0,-1,true,false), |
| 87 | ('Vertical Flings',2,true,false), | 87 | ('Vertical Flings',2,-1,true,false), |
| 88 | ('Catapults',4,true,false), | 88 | ('Catapults',4,-1,true,false), |
| 89 | ('Multifling',2,true,false), | 89 | ('Multifling',2,-1,true,false), |
| 90 | ('Fling Crushers',0,true,false), | 90 | ('Fling Crushers',0,-1,true,false), |
| 91 | ('Industrial Fan',0,true,false), | 91 | ('Industrial Fan',0,-1,true,false), |
| 92 | -- 3 | 92 | -- 3 |
| 93 | ('Cooperative Bridges',3,true,false), | 93 | ('Cooperative Bridges',3,-1,true,false), |
| 94 | ('Bridge Swap',2,true,false), | 94 | ('Bridge Swap',2,-1,true,false), |
| 95 | ('Fling Block',2,true,false), | 95 | ('Fling Block',2,-1,true,false), |
| 96 | ('Catapult Block',4,true,false), | 96 | ('Catapult Block',4,-1,true,false), |
| 97 | ('Bridge Fling',4,true,false), | 97 | ('Bridge Fling',4,-1,true,false), |
| 98 | ('Turret Walls',4,true,false), | 98 | ('Turret Walls',4,-1,true,false), |
| 99 | ('Turret Assasin',0,true,false), | 99 | ('Turret Assasin',0,-1,true,false), |
| 100 | ('Bridge Testing',0,true,false), | 100 | ('Bridge Testing',0,-1,true,false), |
| 101 | -- 4 | 101 | -- 4 |
| 102 | ('Cooperative Funnels',0,true,false), | 102 | ('Cooperative Funnels',0,-1,true,false), |
| 103 | ('Funnel Drill',0,true,false), | 103 | ('Funnel Drill',0,-1,true,false), |
| 104 | ('Funnel Catch',0,true,false), | 104 | ('Funnel Catch',0,-1,true,false), |
| 105 | ('Funnel Laser',0,true,false), | 105 | ('Funnel Laser',0,-1,true,false), |
| 106 | ('Cooperative Polarity',0,true,false), | 106 | ('Cooperative Polarity',0,-1,true,false), |
| 107 | ('Funnel Hop',0,true,false), | 107 | ('Funnel Hop',0,-1,true,false), |
| 108 | ('Advanced Polarity',0,true,false), | 108 | ('Advanced Polarity',0,-1,true,false), |
| 109 | ('Funnel Maze',0,true,false), | 109 | ('Funnel Maze',0,-1,true,false), |
| 110 | ('Turret Warehouse',0,true,false), | 110 | ('Turret Warehouse',0,-1,true,false), |
| 111 | -- 5 | 111 | -- 5 |
| 112 | ('Repulsion Jumps',0,true,false), | 112 | ('Repulsion Jumps',0,-1,true,false), |
| 113 | ('Double Bounce',2,true,false), | 113 | ('Double Bounce',2,-1,true,false), |
| 114 | ('Bridge Repulsion',2,true,false), | 114 | ('Bridge Repulsion',2,-1,true,false), |
| 115 | ('Wall Repulsion',2,true,false), | 115 | ('Wall Repulsion',2,-1,true,false), |
| 116 | ('Propulsion Crushers',0,true,false), | 116 | ('Propulsion Crushers',0,-1,true,false), |
| 117 | ('Turret Ninja',0,true,false), | 117 | ('Turret Ninja',0,-1,true,false), |
| 118 | ('Propulsion Retrieval',0,true,false), | 118 | ('Propulsion Retrieval',0,-1,true,false), |
| 119 | ('Vault Entrance',0,true,false), | 119 | ('Vault Entrance',0,-1,true,false), |
| 120 | -- 6 | 120 | -- 6 |
| 121 | ('Seperation',0,true,false), | 121 | ('Seperation',0,-1,true,false), |
| 122 | ('Triple Axis',0,true,false), | 122 | ('Triple Axis',0,-1,true,false), |
| 123 | ('Catapult Catch',0,true,false), | 123 | ('Catapult Catch',0,-1,true,false), |
| 124 | ('Bridge Gels',2,true,false), | 124 | ('Bridge Gels',2,-1,true,false), |
| 125 | ('Maintenance',0,true,false), | 125 | ('Maintenance',0,-1,true,false), |
| 126 | ('Bridge Catch',0,true,false), | 126 | ('Bridge Catch',0,-1,true,false), |
| 127 | ('Double Lift',0,true,false), | 127 | ('Double Lift',0,-1,true,false), |
| 128 | ('Gel Maze',0,true,false), | 128 | ('Gel Maze',0,-1,true,false), |
| 129 | ('Crazier Box',0,true,false); \ No newline at end of file | 129 | ('Crazier Box',0,-1,true,false); \ No newline at end of file |