You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add cascade delete design decision to multi-backend plan
DataJoint keeps its custom cascade delete implementation rather than
using native ON DELETE CASCADE for dry-run capability and to handle
complex foreign key graphs with converging/diverging references.
|**json → jsonb on PostgreSQL**| Better performance and indexing; key order not guaranteed by JSON spec anyway |
147
147
|**int8 → smallint on PostgreSQL**| PostgreSQL lacks tinyint; smallint is semantically equivalent (small integer) |
148
+
|**Custom cascade delete**| DataJoint implements its own cascade delete (not `ON DELETE CASCADE`) to provide dry-run capability and handle complex foreign key graphs with converging/diverging references. This also ensures consistent behavior across backends. |
0 commit comments