mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-27 00:36:34 +00:00
SET CONSTRAINTS ALL DEFERRED only works on DEFERRABLE constraints. Ours aren't. Instead: save all FK definitions to jsonb array, drop them all, do the id replacements unconstrained, re-add from saved definitions. Same pattern as the type-conversion migration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config.ts | ||
| db-adapter.ts | ||
| init.ts | ||
| mappers.ts | ||
| migrations-pg.ts | ||
| pg-adapter.ts | ||
| repository.ts | ||
| util.ts | ||