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) |
|---|---|---|---|
| edge_automatic_must_dos_pkey | Primary key | Asc | id |
| edge_automatic_must_dos_company_id_idx | Performance | Asc | company_id |
| edge_automatic_must_dos_purchase_order_line_id_idx | Performance | Asc | purchase_order_line_id |
| edge_automatic_must_dos_respondent_id_idx | Performance | Asc | respondent_id |
| edge_automatic_must_dos_template_id_idx | Performance | Asc | template_id |
| edge_automatic_must_dos_visit_id_idx | Performance | Asc | visit_id |