Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| visit_id | int8 |
|
|
|
| response | 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) |
|---|---|---|---|
| 3e240e956b431b5bd8b305186a346d8b | Performance | Asc | purchase_order_line_id |
| 71e571c3f6bace7aea92d4280e6eb154 | Performance | Asc | respondent_id |
| 72e758ca761c81d3626dfd8e834a7a53 | Performance | Asc | template_id |
| e1ef4eccb2f9123e92300bfa1e383f15 | Performance | Asc | visit_id |
| e6d4bc35233f56ce4fda164c0a0e80a8 | Performance | Asc | company_id |