Handle EF Core model changes and PostgreSQL-safe migrations for SeeSpec. Use when adding or changing entities, relationships, indexes, nullability, delete behavior, DbContext registration, migration files, or provider-specific schema decisions in the ABP/Npgsql stack.
Use this skill when the data model changes and the EntityFrameworkCore layer must stay correct for PostgreSQL.
Review:
docs/domain-model.mddocs/architecture.md.codex/codex.md.codex/skills/posgres/SKILL.md.codex/standards/backend-structure.mdBe explicit about:
Before finalizing a migration, verify:
UseSqlServer() path was introducedDo not generate a migration yet when:
In that case, update the model code and document the unresolved migration decision.
When feasible, validate:
If runtime migration execution cannot be performed, state that clearly.
Update docs if the model change affects:
docs/domain-model.mddocs/architecture.mddocs/api-contracts.mdReport: