Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| membership_id | int8 |
|
|
|
| leave_type | varchar |
|
|
|
| other_type | varchar |
|
|
|
| start_date | date |
|
|
|
| end_date | date |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| suspend_package | bool |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| suspend_recurring_visits | bool |
|
|
Boolean value that controls if recurring visits will be created by the system during leave. @example true, false |
| 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_membership_leave_periods_pkey | Primary key | Asc | id |
| idx_edge_membership_leave_periods_company_id | Performance | Asc | company_id |
| idx_edge_membership_leave_periods_membership_id | Performance | Asc | membership_id |