Files
MOPC-Portal/prisma/migrations/20260215200000_phase7_fk_renames
Matt 1233cdd22c
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m45s
Fix phase7 FK rename migration: drop old roundId before rename
The pipeline migration (20260213) added stageId columns while keeping
the original roundId columns as nullable. The rename migration tried
to RENAME stageId TO roundId but failed because roundId already existed.
Fix: DROP the old roundId column first, then rename stageId → roundId.
Also restore FK constraints on ConflictOfInterest and TaggingJob.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 23:16:06 +01:00
..