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 |
| amount_cents | int4 |
|
|
Amount of unspent funds in cents. @example 1000 |
| amount_currency | varchar |
|
|
Amount currency for the unspent funds. @example AUD |
| 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) |
|---|---|---|---|
| 031890b5fb502fcf5518a58dfea3b543 | Performance | Asc | company_id |
| eb8cd920f917d8ff78249591589876a4 | Performance | Asc | membership_id |