[11] doc 11 §6.2 single-active enum↔DDL drift guard

Testkamo-shared-library
Ya
4 Julai 2026, 12:26 UTC
Mwandishi
Kamo
Ahadi ya
5fdfbb1

**************** is derived from enum metadata, but the DB backstop is four partial-unique indexes in KamoInitializer whose type IN(...) lists HARD-CODE the single-active types. Both the enum Javadoc and the DDL comment call for a shared-lib test that asserts the two stay in sync — it did not exist. Add it: the three DDL index lists are mirrored here and asserted to (a) union exactly to singleActiveTypes(), disjoint + complete; (b) split cleanly by ownership — native = the REGISTRY_OWNED single-active types, issuer+loan = the OWNED_ELSEWHERE ones, both DERIVED from the enum so a new single-active type fails until the DDL is updated; (c) contain no MULTI_VALUE type. Currently in sync (16 types). 4 tests green.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei