Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| company_id | int8 |
|
|
The foreign key to the company record. |
| helper_id | int8 |
|
|
The foreign key to the care worker record that owns the roster item |
| recurrence_id | int8 |
|
|
The foreign key to the recurrence record. If null, the roster item is one-off. When present, the roster item is recurring. |
| shift_id | int8 |
|
|
The foreign key to the shift record. |
| beginning_at | timestamp |
|
|
A timestamp that is when the roster item begins. Value is in UTC. |
| ending_at | timestamp |
|
|
A timestamp that is when the roster item ends. Value is in UTC. |
| title | varchar |
|
|
The title for the roster item. Example: training, admin time |
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| category | varchar |
|
|
|
| paid | bool |
|
|
|
| notes | text |
|
|
Optional notes about the item to be shared with helpers. @example A note |
| beginning_at_in_company_tz | timestamp |
|
|
|
| ending_at_in_company_tz | timestamp |
|
|
|
| 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_roster_items_pkey | Primary key | Asc | id |