violation_agency_xref

-1 rows


Description

Used to track the relationship type between an agency and a violation code. For example: violation code ‘WASTE’ is only used by EPO (CEEB) but ‘WILDLIFE’ is used by both COS and PARKS

Columns

Column Type Size Nulls Auto Default Children Parents Comments
violation_agency_xref_guid uuid 2147483647 uuid_generate_v4()

A human readable code used to identify a relationship type between an agency and a violation code.

violation_code varchar 10 null
violation_code.violation_code FK_violation_agency_xref__violation_code R

A human readable code used to identify a violation.

agency_code varchar 10 null
agency_code.agency_code FK_violation_agency_xref__agency_code R

A human readable code used to identify an agency.

create_user_id varchar 32 null

The id of the user that created the relationship between an agency and a violation code.

create_utc_timestamp timestamp 29,6 now()

The timestamp when the relationship between an agency and a violation code was created. The timestamp is stored in UTC with no Offset.

update_user_id varchar 32 null

The id of the user that updated the relationship between an agency and a violation code.

update_utc_timestamp timestamp 29,6 now()

The timestamp when the relationship between an agency and a violation code was updated. The timestamp is stored in UTC with no Offset.

active_ind bool 1 true

A boolean indicator to determine if the relationship type between an agency and a violation code is active.

Indexes

Constraint Name Type Sort Column(s)
PK_violation_agency_xref_guid Primary key Asc violation_agency_xref_guid

Relationships