Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| membership_id | int8 |
|
|
|
| product_id | int8 |
|
|
|
| plan_id | varchar |
|
|
|
| frequency | varchar |
|
|
|
| hours_per_frequency | float8 |
|
|
|
| approval_start_date | date |
|
|
|
| approval_end_date | date |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| co_payment_amount_cents | int4 |
|
|
|
| co_payment_amount_currency | varchar |
|
|
|
| weekly_co_payment_cap_cents | int4 |
|
|
|
| weekly_co_payment_cap_currency | varchar |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| 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_vhc_service_plans_pkey | Primary key | Asc | id |
| idx_edge_vhc_service_plans_company_id | Performance | Asc | company_id |
| idx_edge_vhc_service_plans_membership_id | Performance | Asc | membership_id |
| idx_edge_vhc_service_plans_plan_id | Performance | Asc | plan_id |
| idx_edge_vhc_service_plans_product_id | Performance | Asc | product_id |