Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| billing_zip | VARCHAR | 20 | √ | null |
|
|
|||||
| card_brand | VARCHAR | 50 | √ | null |
|
|
|||||
| cardholder_name | VARCHAR | 200 | √ | null |
|
|
|||||
| created_at | DATETIME | 26 | null |
|
|
||||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| expiration_month | INT | 10 | √ | null |
|
|
|||||
| expiration_year | INT | 10 | √ | null |
|
|
|||||
| is_active | BIT | 1 | null |
|
|
||||||
| is_default | BIT | 1 | null |
|
|
||||||
| last_four_digits | VARCHAR | 4 | √ | null |
|
|
|||||
| metadata | TEXT | 65535 | √ | null |
|
|
|||||
| payment_method_type | enum('ACH', 'CHECK', 'CREDIT_CARD', 'DEBIT_CARD', 'OTHER', 'PAYPAL', 'WIRE_TRANSFER') | 13 | null |
|
|
||||||
| payment_token | VARCHAR | 255 | null |
|
|
||||||
| processor_name | VARCHAR | 50 | √ | null |
|
|
|||||
| updated_at | DATETIME | 26 | null |
|
|
||||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
|||||
| tenant_id | VARCHAR | 36 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| FK23e8q1rwjrj0uohiv3jseai5a | Performance | Asc | tenant_id |