Description
Automate EF Core migrations in the deployment pipeline. Ensures database schema is always in sync with code without manual steps or data loss.
Dependencies
Acceptance Criteria
Technical Notes
- Option A: Migration bundle (embedded in app)
- Option B: Init container that runs migrations before app
- Use
--idempotent to make migrations safe to rerun
- Verify migrations work on both staging and production
Phase: 4 | Size: M | Owner: Zoe (Lead)
Description
Automate EF Core migrations in the deployment pipeline. Ensures database schema is always in sync with code without manual steps or data loss.
Dependencies
Acceptance Criteria
dotnet ef migrations script --idempotentTechnical Notes
--idempotentto make migrations safe to rerunPhase: 4 | Size: M | Owner: Zoe (Lead)