The projection MUST give a report of the flow: every annotation of the domain, once, as expressed (a constraint, a default, an index, a column, a table), carried (kept, as it is, on the logical elements it was made for, so that a layer or an extension below may express it), or unexpressed (of a kind the projection knows nothing about), with the logical elements it became; no annotation MUST be left out of it.
Enforced (check): .github: cd commons/data && bun run verify — suite/logical-flow.test.ts: every annotation of the domain is in the report once, and only those; suite/logical-flow.test.ts: an expressed annotation names the elements it became, and a carried one the elements that keep it, and each of them is in the schema; suite/logical-flow.test.ts: what the schema cannot express it keeps, as it was, on the tables, columns and the schema it was made for; suite/logical-flow.test.ts: an annotation of a kind the projection knows nothing about is unexpressed in the report, and carried where the projection is told to carry it
Proved by: data/suite/logical-flow.test.ts
Written in: data/sql/logical/project.ts
Tests: passed: suite/logical-flow.test.ts an annotation of a kind the projection knows nothing about is unexpressed in the report, a; passed: suite/logical-flow.test.ts an expressed annotation names the elements it became, and a carried one the elements that ; passed: suite/logical-flow.test.ts every annotation of the domain is in the report once, and only those; passed: suite/logical-flow.test.ts what the schema cannot express it keeps, as it was, on the tables, columns and the schema
Cited by: Documentation in the database