Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('finding_adjudications_id_seq'::regclass) |
|
|
|||||
| room_id | text | 2147483647 | null |
|
|
||||||
| violation_id | int8 | 19 | null |
|
|
||||||
| rule_id | text | 2147483647 | null |
|
|
||||||
| criterion_id | text | 2147483647 | √ | null |
|
|
|||||
| tier | text | 2147483647 | null |
|
|
||||||
| verdict | text | 2147483647 | null |
|
|
||||||
| notes | text | 2147483647 | √ | null |
|
|
|||||
| adjudicated_by | text | 2147483647 | null |
|
|
||||||
| adjudicated_at | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| finding_adjudications_pkey | Primary key | Asc | id |
| finding_adjudications_violation_id_adjudicated_by_key | Must be unique | Asc/Asc | violation_id + adjudicated_by |
| idx_adjudications_room | Performance | Asc | room_id |
| idx_adjudications_rule | Performance | Asc/Asc | rule_id + verdict |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| finding_adjudications_verdict_valid | (verdict = ANY (ARRAY['true_positive'::text, 'false_positive'::text, 'unclear'::text])) |