by MarceColl · 2y ago · 0 comments
There's also the DEFERRABLE constraint setting[1] for one-to-one relationships (which can usually be avoided via a joint reference table). This pattern should already work in pg-nano.
[1]: https://www.postgresql.org/docs/current/sql-set-constraints....