mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
createUniqueConstraint/createForeignKey used bare table names, which resolve against the default schema (public) while the table was created in freight — the migration failed on boot and rolled back every start. Rewritten as idempotent schema-qualified SQL (unique index replaces the constraint, FK inline on the column). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>