diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 43d57be8..87d9c020 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -122,15 +122,11 @@ After you've installed everything above, you need to do a couple of things to en
`dotnet ef database update`
-3. **Import the characters into your local database**
-
-`psql Smash_ComboDatabase --file=Models/characters.sql`
-
-4. **Remove the `node_modules` file in the `ClientApp` folder**
+3. **Remove the `node_modules` file in the `ClientApp` folder**
If you have Trash installed, you can do `trash node_modules`
-5. **Install npm in `ClientApp`**
+4. **Install npm in `ClientApp`**
`cd ClientApp`
diff --git a/ClientApp/src/components/allCharacterCloseUp.jsx b/ClientApp/src/components/allCharacterCloseUp.jsx
index d8bc9941..ff44ac26 100644
--- a/ClientApp/src/components/allCharacterCloseUp.jsx
+++ b/ClientApp/src/components/allCharacterCloseUp.jsx
@@ -36,6 +36,9 @@ import Wario from '../graphics/characters/Wario/Wario-1.png'
import Snake from '../graphics/characters/Snake/Snake-1.png'
import Ike from '../graphics/characters/Ike/Ike-1.png'
import PokemonTrainer from '../graphics/characters/PokemonTrainer/PokemonTrainer-1.png'
+import Squirtle from '../graphics/characters/Squirtle/Squirtle-1.png'
+import Ivysaur from '../graphics/characters/Ivysaur/Ivysaur-1.png'
+import Charizard from '../graphics/characters/Charizard/Charizard-1.png'
import DiddyKong from '../graphics/characters/DiddyKong/DiddyKong-1.png'
import Lucas from '../graphics/characters/Lucas/Lucas-1.png'
import Sonic from '../graphics/characters/Sonic/Sonic-1.png'
@@ -51,7 +54,9 @@ import WiiFitTrainer from '../graphics/characters/WiiFitTrainer/WiiFitTrainer-1.
import RosalinaAndLuma from '../graphics/characters/RosalinaAndLuma/RosalinaAndLuma-1.png'
import LittleMac from '../graphics/characters/LittleMac/LittleMac-1.png'
import Greninja from '../graphics/characters/Greninja/Greninja-1.png'
-import Mii from '../graphics/characters/Mii/Mii-1.png'
+import MiiBrawler from '../graphics/characters/MiiBrawler/MiiBrawler-1.png'
+import MiiSwordfighter from '../graphics/characters/MiiSwordfighter/MiiSwordfighter-1.png'
+import MiiGunner from '../graphics/characters/MiiGunner/MiiGunner-1.png'
import Palutena from '../graphics/characters/Palutena/Palutena-1.png'
import PacMan from '../graphics/characters/PacMan/PacMan-1.png'
import Robin from '../graphics/characters/Robin/Robin-1.png'
@@ -117,6 +122,9 @@ export const allCharacterCloseUp = {
Snake,
Ike,
PokemonTrainer,
+ Squirtle,
+ Ivysaur,
+ Charizard,
DiddyKong,
Lucas,
Sonic,
@@ -132,7 +140,9 @@ export const allCharacterCloseUp = {
RosalinaAndLuma,
LittleMac,
Greninja,
- Mii,
+ MiiBrawler,
+ MiiSwordfighter,
+ MiiGunner,
Palutena,
PacMan,
Robin,
diff --git a/ClientApp/src/components/allCharacterPortrait.jsx b/ClientApp/src/components/allCharacterPortrait.jsx
index d75ba1ce..f10ef685 100644
--- a/ClientApp/src/components/allCharacterPortrait.jsx
+++ b/ClientApp/src/components/allCharacterPortrait.jsx
@@ -35,7 +35,9 @@ import ZeroSuitSamus from '../graphics/characters/ZeroSuitSamus/ZeroSuitSamus-5.
import Wario from '../graphics/characters/Wario/Wario-5.png'
import Snake from '../graphics/characters/Snake/Snake-5.png'
import Ike from '../graphics/characters/Ike/Ike-5.png'
-import PokemonTrainer from '../graphics/characters/PokemonTrainer/PokemonTrainer-5.png'
+import Squirtle from '../graphics/characters/Squirtle/Squirtle-5.png'
+import Ivysaur from '../graphics/characters/Ivysaur/Ivysaur-5.png'
+import Charizard from '../graphics/characters/Charizard/Charizard-5.png'
import DiddyKong from '../graphics/characters/DiddyKong/DiddyKong-5.png'
import Lucas from '../graphics/characters/Lucas/Lucas-5.png'
import Sonic from '../graphics/characters/Sonic/Sonic-5.png'
@@ -51,7 +53,9 @@ import WiiFitTrainer from '../graphics/characters/WiiFitTrainer/WiiFitTrainer-5.
import RosalinaAndLuma from '../graphics/characters/RosalinaAndLuma/RosalinaAndLuma-5.png'
import LittleMac from '../graphics/characters/LittleMac/LittleMac-5.png'
import Greninja from '../graphics/characters/Greninja/Greninja-5.png'
-import Mii from '../graphics/characters/Mii/Mii-5.png'
+import MiiBrawler from '../graphics/characters/MiiBrawler/MiiBrawler-5.png'
+import MiiSwordfighter from '../graphics/characters/MiiSwordfighter/MiiSwordfighter-5.png'
+import MiiGunner from '../graphics/characters/MiiGunner/MiiGunner-5.png'
import Palutena from '../graphics/characters/Palutena/Palutena-5.png'
import PacMan from '../graphics/characters/PacMan/PacMan-5.png'
import Robin from '../graphics/characters/Robin/Robin-5.png'
@@ -116,7 +120,9 @@ export const allCharacterPortrait = {
Wario,
Snake,
Ike,
- PokemonTrainer,
+ Squirtle,
+ Ivysaur,
+ Charizard,
DiddyKong,
Lucas,
Sonic,
@@ -132,7 +138,9 @@ export const allCharacterPortrait = {
RosalinaAndLuma,
LittleMac,
Greninja,
- Mii,
+ MiiBrawler,
+ MiiSwordfighter,
+ MiiGunner,
Palutena,
PacMan,
Robin,
diff --git a/ClientApp/src/graphics/characters/Charizard/Charizard-1.png b/ClientApp/src/graphics/characters/Charizard/Charizard-1.png
new file mode 100644
index 00000000..8b8e487b
Binary files /dev/null and b/ClientApp/src/graphics/characters/Charizard/Charizard-1.png differ
diff --git a/ClientApp/src/graphics/characters/Charizard/Charizard-5.png b/ClientApp/src/graphics/characters/Charizard/Charizard-5.png
new file mode 100644
index 00000000..56c00542
Binary files /dev/null and b/ClientApp/src/graphics/characters/Charizard/Charizard-5.png differ
diff --git a/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-1.png b/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-1.png
new file mode 100644
index 00000000..8f8bcf8c
Binary files /dev/null and b/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-1.png differ
diff --git a/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-5.png b/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-5.png
new file mode 100644
index 00000000..84ce18b1
Binary files /dev/null and b/ClientApp/src/graphics/characters/Ivysaur/Ivysaur-5.png differ
diff --git a/ClientApp/src/graphics/characters/Mii/Mii-1.png b/ClientApp/src/graphics/characters/MiiBrawler/MiiBrawler-1.png
similarity index 100%
rename from ClientApp/src/graphics/characters/Mii/Mii-1.png
rename to ClientApp/src/graphics/characters/MiiBrawler/MiiBrawler-1.png
diff --git a/ClientApp/src/graphics/characters/Mii/Mii-5.png b/ClientApp/src/graphics/characters/MiiBrawler/MiiBrawler-5.png
similarity index 100%
rename from ClientApp/src/graphics/characters/Mii/Mii-5.png
rename to ClientApp/src/graphics/characters/MiiBrawler/MiiBrawler-5.png
diff --git a/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-1.png b/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-1.png
new file mode 100644
index 00000000..923da4f9
Binary files /dev/null and b/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-1.png differ
diff --git a/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-5.png b/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-5.png
new file mode 100644
index 00000000..585d0237
Binary files /dev/null and b/ClientApp/src/graphics/characters/MiiGunner/MiiGunner-5.png differ
diff --git a/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-1.png b/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-1.png
new file mode 100644
index 00000000..698ecefa
Binary files /dev/null and b/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-1.png differ
diff --git a/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-5.png b/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-5.png
new file mode 100644
index 00000000..ca1ebd84
Binary files /dev/null and b/ClientApp/src/graphics/characters/MiiSwordfighter/MiiSwordfighter-5.png differ
diff --git a/ClientApp/src/graphics/characters/Squirtle/Squirtle-1.png b/ClientApp/src/graphics/characters/Squirtle/Squirtle-1.png
new file mode 100644
index 00000000..643fb656
Binary files /dev/null and b/ClientApp/src/graphics/characters/Squirtle/Squirtle-1.png differ
diff --git a/ClientApp/src/graphics/characters/Squirtle/Squirtle-5.png b/ClientApp/src/graphics/characters/Squirtle/Squirtle-5.png
new file mode 100644
index 00000000..a341ef77
Binary files /dev/null and b/ClientApp/src/graphics/characters/Squirtle/Squirtle-5.png differ
diff --git a/ClientApp/src/pages/Characters.jsx b/ClientApp/src/pages/Characters.jsx
index 6ac6617e..2f3fa3d7 100644
--- a/ClientApp/src/pages/Characters.jsx
+++ b/ClientApp/src/pages/Characters.jsx
@@ -64,13 +64,14 @@ export function Characters() {
Choose your character
- {characters.map(character => (
-
-
-
+ {characters.sort((a, b) => a.ReleaseOrder - b.ReleaseOrder)
+ .map(character => (
+
+
+
))}
diff --git a/Migrations/20200726060018_AllTables.cs b/Migrations/20200726060018_AllTables.cs
index c2fb86f5..0492dad5 100644
--- a/Migrations/20200726060018_AllTables.cs
+++ b/Migrations/20200726060018_AllTables.cs
@@ -132,6 +132,339 @@ protected override void Up(MigrationBuilder migrationBuilder)
name: "IX_Comments_ComboId",
table: "Comments",
column: "ComboId");
+
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mario", "Mario", 30});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Donkey Kong", "DonkeyKong", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Link", "Link", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Samus", "Samus", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Dark Samus", "DarkSamus", 4.5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Yoshi", "Yoshi", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Kirby", "Kirby", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Fox", "Fox", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Pikachu", "Pikachu", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Luigi", "Luigi", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ness", "Ness", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Captain Falcon", "CaptainFalcon", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Jigglypuff", "Jigglypuff", 35});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Peach", "Peach", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Daisy", "Daisy", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Bowser", "Bowser", 40});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ice Climbers", "IceClimbers", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Sheik", "Sheik", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Zelda", "Zelda", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Dr. Mario", "DrMario", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Pichu", "Pichu", 40});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Falco", "Falco", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Marth", "Marth", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Lucina", "Lucina", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Young Link", "YoungLink", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ganondorf", "Ganondorf", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mewtwo", "Mewtwo", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Roy", "Roy", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Chrom", "Chrom", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mr. Game & Watch", "MrGameAndWatch", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Meta Knight", "MetaKnight", 50});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Pit", "Pit", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Dark Pit", "DarkPit", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Zero Suit Samus", "ZeroSuitSamus", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Wario", "Wario", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Snake", "Snake", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ike", "Ike", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Squirtle", "Squirtle", 0});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ivysaur", "Ivysaur", 60});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Charizard", "Charizard", 25});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Diddy Kong", "DiddyKong", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Lucas", "Lucas", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Sonic", "Sonic", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"King Dedede", "KingDedede", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Olimar", "Olimar", 50});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Lucario", "Lucario", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"R.O.B.", "ROB", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Toon Link", "ToonLink", 25});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Wolf", "Wolf", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Villager", "Villager", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mega Man", "MegaMan", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Wii Fit Trainer", "WiiFitTrainer", 0});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Rosalina & Luma", "RosalinaAndLuma", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Little Mac", "LittleMac", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Greninja", "Greninja", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mii Brawler", "MiiBrawler", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mii Swordfighter", "MiiSwordfighter", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Mii Gunner", "MiiGunner", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Palutena", "Palutena", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Pac-Man", "PacMan", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Robin", "Robin", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Shulk", "Shulk", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Bowser Jr.", "BowserJr", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Duck Hunt", "DuckHunt", 60});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ryu", "Ryu", 13});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ken", "Ken", 13});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Cloud", "Cloud", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Corrin", "Corrin", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Bayonetta", "Bayonetta", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Inkling", "Inkling", 20});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Ridley", "Ridley", 40});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Simon", "Simon", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Richter", "Richter", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"King K. Rool", "KingKRool", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Isabelle", "Isabelle", 30});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Incineroar", "Incineroar", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Piranha Plant", "PiranhaPlant", 15});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Joker", "Joker", 45});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Hero", "Hero", 5});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Banjo & Kazooie", "BanjoAndKazooie", 50});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Terry", "Terry", 10});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Byleth", "Byleth", 3});
+ migrationBuilder.InsertData(
+ table: "Characters",
+ columns: new string[]{"Name", "VariableName", "YPosition"},
+ values: new object[]{"Min Min", "MinMin", 23});
}
protected override void Down(MigrationBuilder migrationBuilder)
diff --git a/Migrations/20200812105807_AddedCharacterReleaseOrder.Designer.cs b/Migrations/20200812105807_AddedCharacterReleaseOrder.Designer.cs
new file mode 100644
index 00000000..a7ddfff9
--- /dev/null
+++ b/Migrations/20200812105807_AddedCharacterReleaseOrder.Designer.cs
@@ -0,0 +1,242 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
+using Smash_Combos.Models;
+
+namespace Smash_Combos.Migrations
+{
+ [DbContext(typeof(DatabaseContext))]
+ [Migration("20200812105807_AddedCharacterReleaseOrder")]
+ partial class AddedCharacterReleaseOrder
+ {
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
+ .HasAnnotation("ProductVersion", "3.1.0")
+ .HasAnnotation("Relational:MaxIdentifierLength", 63);
+
+ modelBuilder.Entity("Smash_Combos.Models.Character", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("Name")
+ .HasColumnType("text");
+
+ b.Property("ReleaseOrder")
+ .HasColumnType("numeric");
+
+ b.Property("VariableName")
+ .HasColumnType("text");
+
+ b.Property("YPosition")
+ .HasColumnType("integer");
+
+ b.HasKey("Id");
+
+ b.ToTable("Characters");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.Combo", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("CharacterId")
+ .HasColumnType("integer");
+
+ b.Property("ComboInput")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Damage")
+ .HasColumnType("integer");
+
+ b.Property("DatePosted")
+ .HasColumnType("timestamp without time zone");
+
+ b.Property("Difficulty")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("NetVote")
+ .HasColumnType("integer");
+
+ b.Property("Notes")
+ .HasColumnType("text");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("TrueCombo")
+ .HasColumnType("boolean");
+
+ b.Property("UserId")
+ .HasColumnType("integer");
+
+ b.Property("VideoEndTime")
+ .HasColumnType("integer");
+
+ b.Property("VideoId")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("VideoStartTime")
+ .HasColumnType("integer");
+
+ b.HasKey("Id");
+
+ b.HasIndex("CharacterId");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("Combos");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.ComboVote", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("ComboId")
+ .HasColumnType("integer");
+
+ b.Property("UserId")
+ .HasColumnType("integer");
+
+ b.Property("upOrDown")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.ToTable("ComboVotes");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.Comment", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("Body")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("ComboId")
+ .HasColumnType("integer");
+
+ b.Property("DatePosted")
+ .HasColumnType("timestamp without time zone");
+
+ b.Property("NetVote")
+ .HasColumnType("integer");
+
+ b.Property("UserId")
+ .HasColumnType("integer");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ComboId");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("Comments");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.CommentVote", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("CommentId")
+ .HasColumnType("integer");
+
+ b.Property("UserId")
+ .HasColumnType("integer");
+
+ b.Property("upOrDown")
+ .HasColumnType("text");
+
+ b.HasKey("Id");
+
+ b.ToTable("CommentVotes");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.User", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
+
+ b.Property("Admin")
+ .HasColumnType("boolean");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("Email")
+ .IsRequired()
+ .HasColumnType("text");
+
+ b.Property("HashedPassword")
+ .HasColumnType("text");
+
+ b.Property("PasswordMeetsCriteria")
+ .HasColumnType("boolean");
+
+ b.HasKey("Id");
+
+ b.ToTable("Users");
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.Combo", b =>
+ {
+ b.HasOne("Smash_Combos.Models.Character", null)
+ .WithMany("Combos")
+ .HasForeignKey("CharacterId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.HasOne("Smash_Combos.Models.User", "User")
+ .WithMany()
+ .HasForeignKey("UserId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+ });
+
+ modelBuilder.Entity("Smash_Combos.Models.Comment", b =>
+ {
+ b.HasOne("Smash_Combos.Models.Combo", null)
+ .WithMany("Comments")
+ .HasForeignKey("ComboId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+
+ b.HasOne("Smash_Combos.Models.User", "User")
+ .WithMany()
+ .HasForeignKey("UserId")
+ .OnDelete(DeleteBehavior.Cascade)
+ .IsRequired();
+ });
+#pragma warning restore 612, 618
+ }
+ }
+}
diff --git a/Migrations/20200812105807_AddedCharacterReleaseOrder.cs b/Migrations/20200812105807_AddedCharacterReleaseOrder.cs
new file mode 100644
index 00000000..f9e890c1
--- /dev/null
+++ b/Migrations/20200812105807_AddedCharacterReleaseOrder.cs
@@ -0,0 +1,605 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace Smash_Combos.Migrations
+{
+ public partial class AddedCharacterReleaseOrder : Migration
+ {
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.AddColumn(
+ name: "ReleaseOrder",
+ table: "Characters",
+ nullable: false,
+ defaultValue: 0m);
+
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Mario",
+ column: "ReleaseOrder",
+ value: 1
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DonkeyKong",
+ column: "ReleaseOrder",
+ value: 2
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Link",
+ column: "ReleaseOrder",
+ value: 3
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Samus",
+ column: "ReleaseOrder",
+ value: 4
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DarkSamus",
+ column: "ReleaseOrder",
+ value: 4.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Yoshi",
+ column: "ReleaseOrder",
+ value: 5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Kirby",
+ column: "ReleaseOrder",
+ value: 6
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Fox",
+ column: "ReleaseOrder",
+ value: 7
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Pikachu",
+ column: "ReleaseOrder",
+ value: 8
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Luigi",
+ column: "ReleaseOrder",
+ value: 9
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ness",
+ column: "ReleaseOrder",
+ value: 10
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "CaptainFalcon",
+ column: "ReleaseOrder",
+ value: 11
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Jigglypuff",
+ column: "ReleaseOrder",
+ value: 12
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Peach",
+ column: "ReleaseOrder",
+ value: 13
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Daisy",
+ column: "ReleaseOrder",
+ value: 13.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Bowser",
+ column: "ReleaseOrder",
+ value: 14
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "IceClimbers",
+ column: "ReleaseOrder",
+ value: 15
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Sheik",
+ column: "ReleaseOrder",
+ value: 16
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Zelda",
+ column: "ReleaseOrder",
+ value: 17
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DrMario",
+ column: "ReleaseOrder",
+ value: 18
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Pichu",
+ column: "ReleaseOrder",
+ value: 19
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Falco",
+ column: "ReleaseOrder",
+ value: 20
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Marth",
+ column: "ReleaseOrder",
+ value: 21
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Lucina",
+ column: "ReleaseOrder",
+ value: 21.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "YoungLink",
+ column: "ReleaseOrder",
+ value: 22
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ganondorf",
+ column: "ReleaseOrder",
+ value: 23
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Mewtwo",
+ column: "ReleaseOrder",
+ value: 24
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Roy",
+ column: "ReleaseOrder",
+ value: 25
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Chrom",
+ column: "ReleaseOrder",
+ value: 25.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MrGameAndWatch",
+ column: "ReleaseOrder",
+ value: 26
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MetaKnight",
+ column: "ReleaseOrder",
+ value: 27
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Pit",
+ column: "ReleaseOrder",
+ value: 28
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DarkPit",
+ column: "ReleaseOrder",
+ value: 28.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "ZeroSuitSamus",
+ column: "ReleaseOrder",
+ value: 29
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Wario",
+ column: "ReleaseOrder",
+ value: 30
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Snake",
+ column: "ReleaseOrder",
+ value: 31
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ike",
+ column: "ReleaseOrder",
+ value: 32
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Squirtle",
+ column: "ReleaseOrder",
+ value: 33
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ivysaur",
+ column: "ReleaseOrder",
+ value: 34
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Charizard",
+ column: "ReleaseOrder",
+ value: 35
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DiddyKong",
+ column: "ReleaseOrder",
+ value: 36
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Lucas",
+ column: "ReleaseOrder",
+ value: 37
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Sonic",
+ column: "ReleaseOrder",
+ value: 38
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "KingDedede",
+ column: "ReleaseOrder",
+ value: 39
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Olimar",
+ column: "ReleaseOrder",
+ value: 40
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Lucario",
+ column: "ReleaseOrder",
+ value: 41
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "ROB",
+ column: "ReleaseOrder",
+ value: 42
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "ToonLink",
+ column: "ReleaseOrder",
+ value: 43
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Wolf",
+ column: "ReleaseOrder",
+ value: 44
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Villager",
+ column: "ReleaseOrder",
+ value: 45
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MegaMan",
+ column: "ReleaseOrder",
+ value: 46
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "WiiFitTrainer",
+ column: "ReleaseOrder",
+ value: 47
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "RosalinaAndLuma",
+ column: "ReleaseOrder",
+ value: 48
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "LittleMac",
+ column: "ReleaseOrder",
+ value: 49
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Greninja",
+ column: "ReleaseOrder",
+ value: 50
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MiiBrawler",
+ column: "ReleaseOrder",
+ value: 51
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MiiSwordfighter",
+ column: "ReleaseOrder",
+ value: 52
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MiiGunner",
+ column: "ReleaseOrder",
+ value: 53
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Palutena",
+ column: "ReleaseOrder",
+ value: 54
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "PacMan",
+ column: "ReleaseOrder",
+ value: 55
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Robin",
+ column: "ReleaseOrder",
+ value: 56
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Shulk",
+ column: "ReleaseOrder",
+ value: 57
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "BowserJr",
+ column: "ReleaseOrder",
+ value: 58
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "DuckHunt",
+ column: "ReleaseOrder",
+ value: 59
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ryu",
+ column: "ReleaseOrder",
+ value: 60
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ken",
+ column: "ReleaseOrder",
+ value: 60.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Cloud",
+ column: "ReleaseOrder",
+ value: 61
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Corrin",
+ column: "ReleaseOrder",
+ value: 62
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Bayonetta",
+ column: "ReleaseOrder",
+ value: 63
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Inkling",
+ column: "ReleaseOrder",
+ value: 64
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Ridley",
+ column: "ReleaseOrder",
+ value: 65
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Simon",
+ column: "ReleaseOrder",
+ value: 66
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Richter",
+ column: "ReleaseOrder",
+ value: 66.5
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "KingKRool",
+ column: "ReleaseOrder",
+ value: 67
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Isabelle",
+ column: "ReleaseOrder",
+ value: 68
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Incineroar",
+ column: "ReleaseOrder",
+ value: 69
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "PiranhaPlant",
+ column: "ReleaseOrder",
+ value: 70
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Joker",
+ column: "ReleaseOrder",
+ value: 71
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Hero",
+ column: "ReleaseOrder",
+ value: 72
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "BanjoAndKazooie",
+ column: "ReleaseOrder",
+ value: 73
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Terry",
+ column: "ReleaseOrder",
+ value: 74
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "Byleth",
+ column: "ReleaseOrder",
+ value: 75
+ );
+ migrationBuilder.UpdateData(
+ table: "Characters",
+ keyColumn: "VariableName",
+ keyValue: "MinMin",
+ column: "ReleaseOrder",
+ value: 76
+ );
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropColumn(
+ name: "ReleaseOrder",
+ table: "Characters");
+ }
+ }
+}
diff --git a/Migrations/DatabaseContextModelSnapshot.cs b/Migrations/DatabaseContextModelSnapshot.cs
index fc1b3292..eedc5774 100644
--- a/Migrations/DatabaseContextModelSnapshot.cs
+++ b/Migrations/DatabaseContextModelSnapshot.cs
@@ -29,6 +29,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property("Name")
.HasColumnType("text");
+ b.Property("ReleaseOrder")
+ .HasColumnType("numeric");
+
b.Property("VariableName")
.HasColumnType("text");
diff --git a/Models/Character.cs b/Models/Character.cs
index 4d39eb11..4faf6255 100644
--- a/Models/Character.cs
+++ b/Models/Character.cs
@@ -8,7 +8,7 @@ public class Character
public string Name { get; set; }
public string VariableName { get; set; }
public int YPosition { get; set; }
-
+ public decimal ReleaseOrder { get; set; }
public List Combos { get; set; }
}
}
\ No newline at end of file
diff --git a/Models/characters.sql b/Models/characters.sql
deleted file mode 100644
index bb4ddbc4..00000000
--- a/Models/characters.sql
+++ /dev/null
@@ -1,396 +0,0 @@
-TRUNCATE TABLE "Characters" RESTART IDENTITY;
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Mario', 'Mario', '30');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Donkey Kong', 'DonkeyKong', '20');
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Link', 'Link', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Samus', 'Samus', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Dark Samus', 'DarkSamus', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Yoshi', 'Yoshi', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Kirby', 'Kirby', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Fox', 'Fox', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Pikachu', 'Pikachu', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Luigi', 'Luigi', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ness', 'Ness', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Captain Falcon', 'CaptainFalcon', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Jigglypuff', 'Jigglypuff', '35');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Peach', 'Peach', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Daisy', 'Daisy', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Bowser', 'Bowser', '40');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ice Climbers', 'IceClimbers', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Sheik', 'Sheik', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Zelda', 'Zelda', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Dr. Mario', 'DrMario', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Pichu', 'Pichu', '40');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Falco', 'Falco', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Marth', 'Marth', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Lucina', 'Lucina', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Young Link', 'YoungLink', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ganondorf', 'Ganondorf', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Mewtwo', 'Mewtwo', '15');
-
-INSERT INTO "Characters"
-
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Roy', 'Roy', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Chrom', 'Chrom', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Mr. Game & Watch', 'MrGameAndWatch', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Meta Knight', 'MetaKnight', '50');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Pit', 'Pit', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Dark Pit', 'DarkPit', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Zero Suit Samus', 'ZeroSuitSamus', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Wario', 'Wario', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Snake', 'Snake', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ike', 'Ike', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Pokemon Trainer', 'PokemonTrainer', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Diddy Kong', 'DiddyKong', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Lucas', 'Lucas', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Sonic', 'Sonic', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('King Dedede', 'KingDedede', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Olimar', 'Olimar', '50');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Lucario', 'Lucario', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('R.O.B.', 'ROB', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Toon Link', 'ToonLink', '25');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Wolf', 'Wolf', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Villager', 'Villager', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Mega Man', 'MegaMan', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Wii Fit Trainer', 'WiiFitTrainer', '0');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Rosalina & Luma', 'RosalinaAndLuma', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Little Mac', 'LittleMac', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Greninja', 'Greninja', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Mii', 'Mii', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Palutena', 'Palutena', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Pac-Man', 'PacMan', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Robin', 'Robin', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Shulk', 'Shulk', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Bowser Jr.', 'BowserJr', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Duck Hunt', 'DuckHunt', '60');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ryu', 'Ryu', '13');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ken', 'Ken', '13');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Cloud', 'Cloud', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Corrin', 'Corrin', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Bayonetta', 'Bayonetta', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Inkling', 'Inkling', '20');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Ridley', 'Ridley', '40');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Simon', 'Simon', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Richter', 'Richter', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('King K. Rool', 'KingKRool', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Isabelle', 'Isabelle', '30');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Incineroar', 'Incineroar', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Piranha Plant', 'PiranhaPlant', '15');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Joker', 'Joker', '45');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Hero', 'Hero', '5');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Banjo & Kazooie', 'BanjoAndKazooie', '50');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Terry', 'Terry', '10');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Byleth', 'Byleth', '3');
-
-INSERT INTO "Characters"
- ("Name", "VariableName", "YPosition")
-VALUES
- ('Min Min', 'MinMin', '23');
\ No newline at end of file