Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| creditPurchaseOrderId | uuid | 2147483647 | null |
|
|
||||||
| xenditInvoiceId | text | 2147483647 | null |
|
|
id field in xendit |
|||||
| xenditPaymentUrl | text | 2147483647 | null |
|
|
invoice_url field in xendit |
|||||
| requestedAt | timestamptz | 35,6 | null |
|
|
created field in xendit |
|||||
| expiryAt | timestamptz | 35,6 | null |
|
|
expiry_date field in xendit |
|||||
| paidAt | timestamptz | 35,6 | √ | null |
|
|
paid_at field in xendit |
||||
| metadata | jsonb | 2147483647 | null |
|
|
Meta information about the payment from xendit |
|||||
| createdAt | timestamptz | 35,6 | now() |
|
|
||||||
| updatedAt | timestamptz | 35,6 | now() |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| CreditPurchaseOrderXenditInvoicePaymentRequests_pkey | Primary key | Asc | creditPurchaseOrderId |
| CreditPurchaseOrderXenditInvoicePaymentReq_xenditPaymentUrl_key | Must be unique | Asc | xenditPaymentUrl |
| CreditPurchaseOrderXenditInvoicePaymentRequ_xenditInvoiceId_key | Must be unique | Asc | xenditInvoiceId |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| CreditPurchaseOrderXenditInvoicePaymentRequests_expiryAt_check | (("expiryAt" > "requestedAt")) |



