mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Fixed some aliases and reworked namespaces
This commit is contained in:
10
migrate.ps1
Normal file
10
migrate.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
if ($args.Length -eq 0) {
|
||||
Write-Host "Please provide a migration name." -ForegroundColor Red
|
||||
}
|
||||
else {
|
||||
$migrationName = $args[0]
|
||||
dotnet ef migrations add $migrationName -c SqliteContext
|
||||
dotnet ef migrations add $migrationName -c PostgreSqlContext
|
||||
dotnet ef migrations add $migrationName -c MysqlContext
|
||||
}
|
||||
|
Reference in New Issue
Block a user