Updated migrate.ps1

This commit is contained in:
Toastie 2024-06-19 17:22:20 +12:00
parent 24005a6723
commit 6a9786d6e3
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -3,7 +3,7 @@ if ($args.Length -eq 0) {
}
else {
$migrationName = $args[0]
dotnet ef migrations add $migrationName -c SqliteContext -p src/EllieBot/EllieBot.csproj
dotnet ef migrations add $migrationName -c PostgreSqlContext -p src/EllieBot/EllieBot.csproj
dotnet ef migrations add $migrationName -c MysqlContext -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/Sqlite -c MysqlContext -p src/EllieBot/EllieBot.csproj
}