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" 

pause