Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| payer_id | VARCHAR | 36 | null |
|
|
||||||
| clearinghouse_id | VARCHAR | 36 | null |
|
|
||||||
| is_primary | BIT | 1 | √ | 0 |
|
|
|||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_payer_clearinghouses_ch | Performance | Asc | clearinghouse_id |
| idx_payer_clearinghouses_payer | Performance | Asc | payer_id |
| uk_payer_clearinghouse | Must be unique | Asc/Asc | payer_id + clearinghouse_id |