Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| client_id | VARCHAR | 36 | √ | null |
|
|
|||||
| location_business_line_id | VARCHAR | 36 | √ | null |
|
|
|||||
| name | VARCHAR | 255 | null |
|
|
||||||
| type | VARCHAR | 50 | null |
|
|
||||||
| file_url | VARCHAR | 500 | null |
|
|
||||||
| file_size | BIGINT | 19 | null |
|
|
||||||
| uploaded_by | VARCHAR | 36 | null |
|
|
||||||
| uploaded_by_name | VARCHAR | 255 | √ | null |
|
|
|||||
| created_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
||||||
| updated_at | TIMESTAMP | 19 | √ | null |
|
|
|||||
| created_by | VARCHAR | 255 | √ | system |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | system |
|
|
|||||
| scan_status | VARCHAR | 20 | √ | PENDING |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_client_id | Performance | Asc | client_id |
| idx_documents_location_business_line | Performance | Asc | location_business_line_id |
| idx_type | Performance | Asc | type |