Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| company_id | int8 |
|
|
Current company ID. @example 1 |
| schema | json |
|
|
JSON schema defining the custom form structure. @example {“title”: “Feedback Form”, “type”: “object”, “properties”: {“name”: {“type”: “string”}} |
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| name | varchar |
|
|
Name of the custom form template. @example “Falls Risk Assessment Tool (FRAT)” |
| description | text |
|
|
Description of the custom form template. @example “A tool to assess the risk of falls in patients based on recent falls, medications, and psychological factors.” |
| archived_at | timestamp |
|
|
Timestamp recording when this form template was archived. @example “2026-03-22T23:20:00Z” |
| created_at_in_company_tz | timestamp |
|
|
|
| updated_at_in_company_tz | timestamp |
|
|
|
| archived_at_in_company_tz | timestamp |
|
|
|
| company_timezone | varchar |
|
|
The company timezone. E.g. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| edge_custom_forms_templates_pkey | Primary key | Asc | id |
| idx_edge_custom_forms_templates_company_id | Performance | Asc | company_id |