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 classification is valid from. @example 01-07-2025 |
| end_date | date |
|
|
The last day of when this classification is valid to. @example 10-11-2025 |
| opening_balance_cents | int4 |
|
|
The opening balance amount in cents for this classification. @example 100 |
| opening_balance_currency | varchar |
|
|
The opening balance amount currency for this classification. @example AUD |
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| classification_identifier | varchar |
|
|
What classification this record is applicable to. @example sah_classification_1 |
| opening_balance_manually_added | bool |
|
|
Indicates if the opening balance was manually inputted by the user @example true |
| interim_allocation | bool |
|
|
Indicates if the current budget is an interim allocation @example true |
| 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) |
|---|---|---|---|
| 1efb575d5d3304c597c00b3ce57c7bcb | Performance | Asc | company_id |
| ca5478f616bb5bd1e7d33007524c5afe | Performance | Asc | membership_id |