Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| creditProductPurchaseOrderId | uuid | 2147483647 | null |
|
|
||||||
| amount | int4 | 10 | null |
|
|
||||||
| frequency | "employer_purchases"."enum_employer_purchases_product_credit_benefits_frequency" | 2147483647 | null |
|
|
||||||
| timePeriod | int4 | 10 | √ | null |
|
|
|||||
| timePeriodUnit | "employer_purchases"."enum_employer_purchases_timePeriodUnit" | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| CreditProductPurchaseOrderCreditBenefits_pkey | Primary key | Asc | creditProductPurchaseOrderId |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| CreditProductPurchaseOrderCreditBenefits_amount_check | ((amount > 0)) |
| timePeriod_and_timePeriodUnit_check | (((("timePeriod" IS NOT NULL) AND ("timePeriod" > 0) AND ("timePeriodUnit" IS NOT NULL)) OR (("timePeriod" IS NULL) AND ("timePeriodUnit" IS NULL)))) |

