mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +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> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| bsb-tests.json | ||
| package.json | ||
| tsconfig.json | ||