sections


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19 nextval('sections_id_seq'::regclass)
eval_id int8 19 null
evaluations.id sections_eval_id_fkey C
section_id text 2147483647 null
kind text 2147483647 null
weight float8 17,17 1.0
status text 2147483647 'pending'::text
score float8 17,17 null
disqualified bool 1 false
reasons text 2147483647 null
evidence jsonb 2147483647 '[]'::jsonb
elapsed_ms int8 19 null
scored_at timestamptz 35,6 null

Indexes

Constraint Name Type Sort Column(s)
sections_pkey Primary key Asc id
idx_sections_eval Performance Asc eval_id
sections_eval_id_section_id_key Must be unique Asc/Asc eval_id + section_id

Check Constraints

Constraint Name Constraint
sections_kind_check (kind = ANY (ARRAY['probe'::text, 'screenshot_judge'::text, 'drive_judge'::text]))
sections_status_check (status = ANY (ARRAY['pending'::text, 'scored'::text]))

Relationships