mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 07:58:47 +01:00
- Provision.headingPath (jsonb heading_path, migration 0033, additive): tit1/tit2/tit3 of a gesetze.li page are attached to the articles under them, shown above the first one, and counted by law:text verify. A heading is still not a provision. - verify: a gazette masthead table is page furniture (FURNITURE_TABLES), footnote marks and inline tags (CO<sub>2</sub>) are read as the reader reads them. - verify: a sequence score (Myers diff over words) and the longest missing run next to the bag score; an act is word-for-word only when every page word is held in the page's order. Fixtures: Kundmachung 2022308000, AIFMV and Waffengesetz excerpts. Claude-Session: https://claude.ai/code/session_019MDtmt65Ai8jku68kDmxUU
4 lines
241 B
SQL
4 lines
241 B
SQL
-- The chapter and section headings above a provision, outermost first. Additive: existing rows get
|
|
-- an empty path until their act is read again.
|
|
ALTER TABLE "legal_provisions" ADD COLUMN "heading_path" jsonb DEFAULT '[]'::jsonb NOT NULL;
|