with one click
migration
// Manage EF Core database migrations. Use when adding, listing, or removing migrations for the workflow engine.
// Manage EF Core database migrations. Use when adding, listing, or removing migrations for the workflow engine.
Norsk tekstforfatter og redaktør for Digdir: klarspråk, AI-markører, anglisismer, fagtermer, mikrotekst.
Rebase a stacked PR onto main after its parent was squash-merged, using `git rebase --onto` to skip already-merged commits. Use when rebasing a stacked or dependent PR, handling a squash-merged parent PR, or recovering from empty commits or spurious conflicts after `git rebase main`.
Skill for reviewing text content - error messages, labels, help texts and tone of voice. Use this skill only when directly invoked.
Manage the workflow engine's Docker Compose stack. Use when starting, stopping, rebuilding containers, or resetting the database.
Format C# files with CSharpier and verify the build passes. Use when formatting code, fixing build errors from formatting, or before committing changes.
Run k6 load tests against the workflow engine. Use when performance testing, stress testing, or benchmarking.
| name | migration |
| description | Manage EF Core database migrations. Use when adding, listing, or removing migrations for the workflow engine. |
dotnet ef migrations add <MigrationName> \
--project src/WorkflowEngine.Data \
--startup-project tests/WorkflowEngine.TestApp
After generating, run dotnet csharpier format on the new migration files in src/WorkflowEngine.Data/Migrations/.
dotnet ef migrations list \
--project src/WorkflowEngine.Data \
--startup-project tests/WorkflowEngine.TestApp
dotnet ef migrations remove \
--project src/WorkflowEngine.Data \
--startup-project tests/WorkflowEngine.TestApp
DbMigrationService — there is no need to run dotnet ef database update manually.src/WorkflowEngine.Data/Migrations/.EngineDbContext in WorkflowEngine.Data.