mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
16 lines
425 B
PowerShell
16 lines
425 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
if ($PSScriptRoot) {
|
|
$Root = (Get-Item -Path $PSScriptRoot).Parent.FullName + "\Server"
|
|
}
|
|
else {
|
|
$Root = (Get-Item -Path (Get-Location).Path).Parent.FullName + "\Server"
|
|
}
|
|
|
|
Push-Location "$Root"
|
|
|
|
dotnet ef migrations remove --context "SqliteDbContext"
|
|
dotnet ef migrations remove --context "SqlServerDbContext"
|
|
dotnet ef migrations remove --context "PostgreSqlDbContext"
|
|
|
|
Pop-Location |