- table-declaration spec §2.6 (new): DataJoint guarantees FK columns are indexed
on both backends — implicit on MySQL/InnoDB, emitted (coverage-aware) on
PostgreSQL; skipped when already a left-prefix of the PK or a declared index.
- database-backends spec: add the FK-index row to Backend-Specific Behavior with
a pointer to the declaration spec.
- referential-integrity explanation §5: flip the now-obsolete guidance to declare
an explicit index on PostgreSQL; the database indexes FK columns on both
backends. Pairs with datajoint-python #1526.
Documents the behavior added in datajoint/datajoint-python#1526 (closes #1512), and flips the now-obsolete guidance from #227.
Changes
Why now (not the spec-reshape)
§5's old text becomes actively wrong the moment #1526 merges (it tells users to hand-declare an index the framework now creates), so this shouldn't wait for the larger diagram-operations spec reshape.