[NX-104] Add migration upgrade/downgrade verification in CI #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Guarantee Alembic migration safety before release.
Scope
Acceptance Criteria
Changes in commits: NX-104
Goal
Ensure migration changes are safe before merge/release by validating upgrade/downgrade roundtrips and resulting schema consistency.
Delivered Scope
.github/workflows/migration-safety.ymlalembic upgrade headalembic downgrade -1alembic upgrade headpg_dump --schema-onlybefore/after roundtripdiff -ucomparison\restrict/\unrestrictlines from dumps.Acceptance Criteria
Notes