Files
vegasco/Create-Migration.ps1

3 lines
292 B
PowerShell
Raw Permalink Normal View History

2025-06-20 22:02:25 +02:00
dotnet ef migrations add $args[0] --project .\src\Vegasco.Server.Api\Vegasco.Server.Api.csproj --output-dir Persistence/Migrations
dotnet ef migrations script --idempotent --project .\src\Vegasco.Server.Api\Vegasco.Server.Api.csproj --output ./src/Vegasco.Server.Api/migrations/migration.sql