Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| title | text |
|
|
|
| body | text |
|
|
|
| visit_id | int8 |
|
|
|
| response | text |
|
|
|
| response_comment | text |
|
|
|
| respondent_id | int8 |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| service_label | varchar |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| template_id | int8 |
|
|
The id of the automatic must do template that this must do belongs to. @example: 1 |
| response_type | varchar |
|
|
Determines which form field/s to present to users responding to this must do, and therefore what kind of data the response will expect. @example text |
| purchase_order_line_id | int8 |
|
|
The foreign_key for the purchase order line record. @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) |
|---|---|---|---|
| 3e94510c9ad4634dda63571d92b0e272 | Performance | Asc | purchase_order_line_id |
| 50d954b48316f714b1f0e8a9b1d6575f | Performance | Asc | company_id |
| 735b0643e6fdf5d52fa0b9a0af1a50f8 | Performance | Asc | respondent_id |
| 9125fdde5f529b816e20e6297809498c | Performance | Asc | visit_id |
| e609c9a30b2ae8207135b68469320a29 | Performance | Asc | template_id |