Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
|||||||||
| reference | VARCHAR | 100 | null |
|
|
|||||||||
| format | VARCHAR | 20 | 835 |
|
|
|||||||||
| remittance_date | DATE | 10 | null |
|
|
|||||||||
| payer_id | VARCHAR | 36 | √ | null |
|
|
||||||||
| clearinghouse_id | VARCHAR | 36 | √ | null |
|
|
||||||||
| total_amount | DECIMAL | 12,2 | 0.00 |
|
|
|||||||||
| status | VARCHAR | 30 | CREATED |
|
|
|||||||||
| processed_at | DATETIME | 19 | √ | null |
|
|
||||||||
| comments | TEXT | 65535 | √ | null |
|
|
||||||||
| created_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
|||||||||
| updated_at | DATETIME | 19 | √ | null |
|
|
||||||||
| created_by | VARCHAR | 36 | √ | null |
|
|
||||||||
| updated_by | VARCHAR | 36 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_remittance_advices_clearinghouse | Performance | Asc | clearinghouse_id |
| idx_remittance_advices_date | Performance | Asc | remittance_date |
| idx_remittance_advices_location | Performance | Asc | location_business_line_id |
| idx_remittance_advices_payer | Performance | Asc | payer_id |
| idx_remittance_advices_status | Performance | Asc | status |
| uk_remittance_advices_location_reference | Must be unique | Asc/Asc | location_business_line_id + reference |