10 lines
337 B
PowerShell
10 lines
337 B
PowerShell
Param
|
|
(
|
|
[Parameter(Mandatory=$true)]
|
|
[string]$MigrationName
|
|
)
|
|
|
|
$root = $PSScriptRoot
|
|
|
|
dotnet tool update dotnet-ef --global
|
|
dotnet ef migrations add $MigrationName --project "$root\ReallifeGamemode.Database.csproj" --startup-project "$root\..\ReallifeGamemode.Server\ReallifeGamemode.Server.csproj" --configuration "Database" |