appearance_charge

-1 rows


Description

Description: Holds the charge related to each court appearance. NOMIS Equivalent Entity: court_event_charges Domain: Person offences/convictions

Columns

Column Type Size Nulls Auto Default Children Parents Comments
appearance_id int4 10 null
court_appearance.id appearance_charge_appearance_id_fkey R

Description: The id related to the appearance. Source System: Remand & Sentencing

charge_id int4 10 null
charge.id appearance_charge_charge_id_fkey R

Description: The id related to the charge. Source System: Remand & Sentencing

created_at timestamptz 35,6 now()
created_by varchar 2147483647 'UNKNOWN'::character varying
created_prison varchar 2147483647 null

Indexes

Constraint Name Type Sort Column(s)
appearance_charge_pkey Primary key Asc/Asc appearance_id + charge_id
idx_appearance_charge_appearance_id Performance Asc appearance_id
idx_appearance_charge_charge_id Performance Asc charge_id
idx_appearance_charge_id Performance Asc/Asc appearance_id + charge_id

Relationships