Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
case_file_guid | uuid | 2147483647 | case_management.uuid_generate_v4() |
|
|
System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables. |
|||||||||||||||||||||||
case_code | varchar | 10 | null |
|
|
A human readable code used to identify a case type. |
|||||||||||||||||||||||
owned_by_agency_code | varchar | 10 | null |
|
|
A human readable code used to identify the agency that owns this case. |
|||||||||||||||||||||||
inaction_reason_code | varchar | 10 | √ | null |
|
|
A human readable code used to identify a reason why no action on the case was taken. |
||||||||||||||||||||||
action_not_required_ind | bool | 1 | √ | null |
|
|
True only if no action required was explicitly indicated for the case. It is assumed that action is required if not set. |
||||||||||||||||||||||
review_required_ind | bool | 1 | √ | null |
|
|
A flag to indicate that a further review of the file by a supervisor is required. |
||||||||||||||||||||||
create_user_id | varchar | 32 | null |
|
|
The id of the user that created the case. |
|||||||||||||||||||||||
create_utc_timestamp | timestamp | 29,6 | null |
|
|
The timestamp when the case 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 case. |
||||||||||||||||||||||
update_utc_timestamp | timestamp | 29,6 | √ | null |
|
|
The timestamp when the case was updated. The timestamp is stored in UTC with no Offset. |
||||||||||||||||||||||
complainant_contacted_ind | bool | 1 | √ | null |
|
|
A boolean indicator to determine if complainant is contacted. |
||||||||||||||||||||||
attended_ind | bool | 1 | √ | null |
|
|
A boolean indicator to determine if the COS officer attended the assessment. |
||||||||||||||||||||||
case_location_code | varchar | 10 | √ | null |
|
|
A human readable code used to identify a location type. |
||||||||||||||||||||||
case_conflict_history_code | varchar | 10 | √ | null |
|
|
A human readable code used to identify a conflict history type. |
||||||||||||||||||||||
case_threat_level_code | varchar | 10 | √ | null |
|
|
A human readable code used to identify a threat level type. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_case_file_guid | Primary key | Asc | case_file_guid |