Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| survey_schedule_id | int8 |
|
|
|
| survey_id | int8 |
|
|
|
| subject_id | int8 |
|
|
|
| root_type | varchar |
|
|
|
| root_id | int8 |
|
|
|
| completed_at | timestamp |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| scheduled_at | timestamp |
|
|
|
| respondent_id | int8 |
|
|
|
| respondent_role | varchar |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| completed_at_in_company_tz | timestamp |
|
|
|
| created_at_in_company_tz | timestamp |
|
|
|
| updated_at_in_company_tz | timestamp |
|
|
|
| scheduled_at_in_company_tz | timestamp |
|
|
|
| company_timezone | varchar |
|
|
The company timezone. E.g. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| edge_survey_requests_pkey | Primary key | Asc | id |
| idx_edge_survey_requests_company_id | Performance | Asc | company_id |
| idx_edge_survey_requests_respondent_id | Performance | Asc | respondent_id |
| idx_edge_survey_requests_root_id | Performance | Asc | root_id |
| idx_edge_survey_requests_subject_id | Performance | Asc | subject_id |
| idx_edge_survey_requests_survey_id | Performance | Asc | survey_id |
| idx_edge_survey_requests_survey_schedule_id | Performance | Asc | survey_schedule_id |