MOPC-App/prisma/migrations/20260215200000_phase7_fk_re...
Matt 1233cdd22c 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
..
migration.sql Fix phase7 FK rename migration: drop old roundId before rename 2026-02-15 23:16:06 +01:00