Add critical result curation metadata

This commit is contained in:
2026-03-17 22:03:09 +01:00
parent 9e16605168
commit 99e7da0d21
5 changed files with 69 additions and 3 deletions

View File

@@ -52,12 +52,15 @@ create table critical_result (
critical_group_id bigint references critical_group(id) on delete cascade,
critical_column_id bigint not null references critical_column(id) on delete cascade,
critical_roll_band_id bigint not null references critical_roll_band(id) on delete cascade,
is_curated boolean not null default false,
raw_cell_text text not null,
description_text text,
raw_affix_text text,
parsed_json jsonb not null default '{}'::jsonb,
parse_status text not null default 'raw' check (parse_status in ('raw', 'partial', 'parsed', 'verified')),
source_bbox jsonb,
source_page_number integer,
source_image_path text,
source_image_crop jsonb,
created_at timestamptz not null default now()
);