Files
zeekay 9dc6c003b0 relational/schemas: name the two index kinds
NewIndex takes an indexType but the package forwarded no values for it, so a
caller declaring an index through this package wrote a bare 1 or 2. IndexType
and UniqueType now name them, and a test pins both against the engine's
numbering: were they to swap, a unique constraint would be created as a plain
index and duplicate rows would start being accepted.
2026-08-21 08:06:02 -07:00
..