Columns
| Column | Type | Children | Parents | Comments |
|---|---|---|---|---|
| id | int8 |
|
|
|
| contract_id | int8 |
|
|
|
| product_id | int8 |
|
|
|
| price_cents | int4 |
|
|
|
| price_currency | varchar |
|
|
|
| fgf_rate | numeric |
|
|
|
| created_at | timestamp |
|
|
|
| updated_at | timestamp |
|
|
|
| company_id | int8 |
|
|
The owning tenant’s ID. @example 1. |
| independent_contractor_price_cents | int4 |
|
|
The independent contractor price, in cents. Null indicates that the rate does not use an independent contractor price. @example: 6250 |
| independent_contractor_price_currency | varchar |
|
|
The currency of the independent contractor price. @example: ‘AUD’ |
| 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) |
|---|---|---|---|
| 2385e237f02e3f89cb12d74a3430342b | Performance | Asc | company_id |
| bb7bdd702397b3ced5607eb9cdc242e9 | Performance | Asc | product_id |
| e54ced225622871ee706bda9d3955b01 | Performance | Asc | contract_id |