Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('payout_account_id_seq'::regclass) |  |  | ||||
| user_id | int8 | 19 | null |  | 
 | |||||
| created_at | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |  |  | ||||
| updated_at | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |  |  | ||||
| provider | text | 2147483647 | 'stripe'::text |  |  | |||||
| type | text | 2147483647 | 'express'::text |  |  | |||||
| account_id | varchar | 255 | null |  |  | 
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| payout_account_pkey | Primary key | Asc | id | 
| payout_account_account_id_unique | Must be unique | Asc | account_id | 
| payout_account_provider_account_id_user_id_unique | Must be unique | Asc/Asc/Asc | provider + account_id + user_id | 
Check Constraints
| Constraint Name | Constraint | 
|---|---|
| payout_account_provider_check | ((provider = 'stripe'::text)) | 
| payout_account_type_check | ((type = ANY (ARRAY['express'::text, 'standard'::text]))) |