40 Foreign Key Constraints
Constraint Name | Child Column | Parent Column | Delete Rule | ||
---|---|---|---|---|---|
FK_violation_code_agency_code |
|
|
Restrict delete | ||
FK_geoorgutnd_gorgtypecd |
|
|
Restrict delete | ||
FK_gorgustrct_agencycode |
|
|
Restrict delete | ||
FK_gorgustrct_parent_geoorgutcd |
|
|
Restrict delete | ||
FK_gorgustrct_child_geoorgutcd |
|
|
Restrict delete | ||
staging_staging_metadata_mapping_entity_code |
|
|
Restrict delete | ||
FK_algtncmplt_violatncd |
|
|
Restrict delete | ||
FK_algtncmplt_complaint |
|
|
Restrict delete | ||
FK_hwcrcmplnt_speciescd |
|
|
Restrict delete | ||
FK_hwcrcmplnt_complaint |
|
|
Restrict delete | ||
FK_hwcrcmplnt_cmpltntrcd |
|
|
Restrict delete | ||
FK_featurecd |
|
|
Restrict delete | ||
FK_agencycode |
|
|
Restrict delete | ||
staging_complaint_staging_status_code |
|
|
Restrict delete | ||
staging_complaint_staging_staging_activity_code |
|
|
Restrict delete | ||
FK_person_complaint_xref__person_guid |
|
|
Restrict delete | ||
FK_person_complaint_xref__complaint_identifier |
|
|
Restrict delete | ||
FK_person_complaint_xref__person_complaint_xref_code |
|
|
Restrict delete | ||
FK_gircmplnt_complaint |
|
|
Restrict delete | ||
FK_gircmplnt_cmpltgircd |
|
|
Restrict delete | ||
officer_team_xref_officer_fk |
|
|
Restrict delete | ||
officer_team_xref_team_fk |
|
|
Restrict delete | ||
FK_attrhwcrx_atractntcd |
|
|
Restrict delete | ||
FK_attrhwcrx_hwcrcmplnt |
|
|
Restrict delete | ||
FK_complaint_type_code_agency_code |
|
|
Restrict delete | ||
FK_comp_mthd_recv_cd_agcy_cd_xref_complaint_method_received_cod |
|
|
Restrict delete | ||
FK_comp_mthd_recv_cd_agcy_cd_xref_agencycode |
|
|
Restrict delete | ||
FK_lnkcmplxref_complaint |
|
|
Restrict delete | ||
FK_lnkcmplxref_linked_complaint |
|
|
Restrict delete | ||
FK_officer_office |
|
|
Restrict delete | ||
FK_officer_person |
|
|
Restrict delete | ||
complaint_update_fk |
|
|
Restrict delete | ||
FK_office_geoorgutnd |
|
|
Restrict delete | ||
team_team_code_fk |
|
|
Restrict delete | ||
team_agency_code_fk |
|
|
Restrict delete | ||
FK_complaint_reported_by_code |
|
|
Restrict delete | ||
FK_complaint_geoorgutnd |
|
|
Restrict delete | ||
FK_complaint_owned_by_agencycode |
|
|
Restrict delete | ||
complaint_comp_mthd_recv_cd_agcy_cd_xref_fk |
|
|
Restrict delete | ||
FK_complaint_compntstscd |
|
|
Restrict delete |
Check Constraints
Table | Constraint Name | Constraint |
---|---|---|
spatial_ref_sys | spatial_ref_sys_srid_check | (((srid > 0) AND (srid <= 998999))) |
action_taken | action_taken_check | (((complaint_identifier IS NOT NULL) OR (complaint_update_guid IS NOT NULL))) |
linked_complaint_xref | NE_lnkcmplxref_no_self_link | (((complaint_identifier)::text <> (linked_complaint_identifier)::text)) |
complaint | complaint_is_privacy_requested | ((is_privacy_requested = ANY (ARRAY['Y'::bpchar, 'N'::bpchar, 'U'::bpchar]))) |