From 3be1105ea5acc4ac43355e0234525590f7d689d5 Mon Sep 17 00:00:00 2001 From: Toastie Date: Sun, 22 Sep 2024 14:27:58 +1200 Subject: [PATCH] updatd migration script as mysql no longer exists --- migrate.ps1 | 1 - remove-migrations.ps1 | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/migrate.ps1 b/migrate.ps1 index a5d5685..8a930a3 100644 --- a/migrate.ps1 +++ b/migrate.ps1 @@ -5,5 +5,4 @@ else { $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/PostgreSql -c PostgreSqlContext -p src/EllieBot/EllieBot.csproj - dotnet ef migrations add $migrationName -o Migrations/Sqlite -c MysqlContext -p src/EllieBot/EllieBot.csproj } \ No newline at end of file diff --git a/remove-migrations.ps1 b/remove-migrations.ps1 index 5445dbb..56fc594 100644 --- a/remove-migrations.ps1 +++ b/remove-migrations.ps1 @@ -1,3 +1,2 @@ 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 MysqlContext -f -p src/EllieBot/EllieBot.csproj \ No newline at end of file +dotnet ef migrations remove -c PostgreSqlContext -f -p src/EllieBot/EllieBot.csproj \ No newline at end of file