Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| company_id | int8 |
|
|
The foreign key to the company record. @example 1 |
| membership_id | int8 |
|
|
The foreign key to the membership record. @example 1 |
| start_date | date |
|
|
The start date of when this supplement is valid from. @example 01-07-2025 |
| end_date | date |
|
|
The last day of when this supplement is valid to. @example 10-11-2025 |
| supplement_identifier | varchar |
|
|
What supplement this is applicable to. @example oxygen_supplement |
| created_at | timestamp |
|
|
|
| updated_at | 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) |
|---|---|---|---|
| 4b9d551217718a993af5fad3fdcc25d0 | Performance | Asc | company_id |
| 81096355198b564289e1acff556ab0a8 | Performance | Asc | membership_id |