Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| incident_id | int8 |
|
|
|
| profile_id | int8 |
|
|
|
| primary_category | varchar |
|
|
|
| secondary_categories | _varchar |
|
|
|
| recommended_level | varchar |
|
|
|
| selected_level | varchar |
|
|
|
| caused_injury | bool |
|
|
|
| reportable_to_police | bool |
|
|
|
| unlawful_conduct_occurred | bool |
|
|
|
| unexplained_absence_or_death | bool |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| cognitive_impairment | varchar |
|
|
|
| injury | varchar |
|
|
|
| other_secondary_category | varchar |
|
|
|
| connected_to_services | bool |
|
|
|
| other_primary_category | varchar |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| created_at_in_company_tz | timestamp |
|
|
|
| updated_at_in_company_tz | timestamp |
|
|
|
| company_timezone | varchar |
|
|
The company timezone. E.g. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| edge_incident_categorisations_pkey | Primary key | Asc | id |
| idx_edge_incident_categorisations_company_id | Performance | Asc | company_id |
| idx_edge_incident_categorisations_incident_id | Performance | Asc | incident_id |
| idx_edge_incident_categorisations_profile_id | Performance | Asc | profile_id |