updatd migration script as mysql no longer exists

This commit is contained in:
Toastie (DCS Team) 2024-09-22 14:27:58 +12:00
parent 3195377e25
commit 3be1105ea5
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 1 additions and 3 deletions

View file

@ -5,5 +5,4 @@ else {
$migrationName = $args[0] $migrationName = $args[0]
dotnet ef migrations add $migrationName -o Migrations/Mysql -c SqliteContext -p src/EllieBot/EllieBot.csproj dotnet ef migrations add $migrationName -o Migrations/Mysql -c SqliteContext -p src/EllieBot/EllieBot.csproj
dotnet ef migrations add $migrationName -o Migrations/PostgreSql -c PostgreSqlContext -p src/EllieBot/EllieBot.csproj dotnet ef migrations add $migrationName -o Migrations/PostgreSql -c PostgreSqlContext -p src/EllieBot/EllieBot.csproj
dotnet ef migrations add $migrationName -o Migrations/Sqlite -c MysqlContext -p src/EllieBot/EllieBot.csproj
} }

View file

@ -1,3 +1,2 @@
dotnet ef migrations remove -c SqliteContext -f -p src/EllieBot/EllieBot.csproj dotnet ef migrations remove -c SqliteContext -f -p src/EllieBot/EllieBot.csproj
dotnet ef migrations remove -c PostgreSqlContext -f -p src/EllieBot/EllieBot.csproj dotnet ef migrations remove -c PostgreSqlContext -f -p src/EllieBot/EllieBot.csproj
dotnet ef migrations remove -c MysqlContext -f -p src/EllieBot/EllieBot.csproj