[2.4] catalog.lawnet_catchword #21

Closed
opened 2026-06-13 23:54:24 +02:00 by dernbu · 0 comments
Owner

Parent

#2 — depends on [2.2]

Schema

CREATE TABLE catalog.lawnet_catchword (
  id                  bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
  lawnet_judgment_id  bigint NOT NULL REFERENCES catalog.lawnet_judgment ON DELETE CASCADE,
  group_ordinal       integer NOT NULL,
  item_ordinal        integer NOT NULL,
  depth               integer NOT NULL,
  value               text NOT NULL
);

Rules: hierarchical catchwords (group → item → depth).

Done when

  • FK cascades on source delete
  • Hierarchical ordering fields store correctly
## Parent #2 — depends on [2.2] ## Schema ```sql CREATE TABLE catalog.lawnet_catchword ( id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY, lawnet_judgment_id bigint NOT NULL REFERENCES catalog.lawnet_judgment ON DELETE CASCADE, group_ordinal integer NOT NULL, item_ordinal integer NOT NULL, depth integer NOT NULL, value text NOT NULL ); ``` **Rules:** hierarchical catchwords (group → item → depth). ## Done when - FK cascades on source delete - Hierarchical ordering fields store correctly
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dernbu/lawnet-scraper#21
No description provided.