allegation_complaint

-1 rows


Description

A complaint for which a caller believes that a Violation has occurred and should be investigated.

Columns

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

System generated unique key for an allegation complaint. This key should never be exposed to users via any system utilizing the tables.

in_progress_ind bool 1 null

True if the alleged violation is currently described as being in progress. False otherwise.

observed_ind bool 1 null

True if the alleged violation was observed first hand. False otherwise.

suspect_witnesss_dtl_text text 2147483647 null
create_user_id varchar 32 null

The id of the user that created the allegation complaint.

create_utc_timestamp timestamp 29,6 null

The timestamp when the allegation complaint 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 allegation complaint.

update_utc_timestamp timestamp 29,6 null

The timestamp when the allegation complaint was updated. The timestamp is stored in UTC with no Offset.

complaint_identifier varchar 20 null
complaint.complaint_identifier FK_algtncmplt_complaint R

Natural key for a complaint generated by webEOC.

violation_code varchar 10 null
violation_code.violation_code FK_algtncmplt_violatncd R

A human readable code used to identify a violation.

Indexes

Constraint Name Type Sort Column(s)
PK_algtncmplt Primary key Asc allegation_complaint_guid
UQ_algtncmplt Must be unique Asc complaint_identifier

Relationships