Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
||||||
| log_type | VARCHAR | 20 | null |
|
|
||||||
| VARCHAR | 20 | √ | null |
|
|
||||||
| VARCHAR | 36 | √ | null |
|
|
||||||
| VARCHAR | 255 | √ | null |
|
|
||||||
| case_id | VARCHAR | 36 | √ | null |
|
|
|||||
| subject | VARCHAR | 255 | null |
|
|
||||||
| description | TEXT | 65535 | √ | null |
|
|
|||||
| phone_number | VARCHAR | 20 | √ | null |
|
|
|||||
| call_direction | VARCHAR | 20 | √ | null |
|
|
|||||
| priority | VARCHAR | 20 | NORMAL |
|
|
||||||
| status | VARCHAR | 20 | OPEN |
|
|
||||||
| starts_at | DATETIME | 26 | null |
|
|
||||||
| ends_at | DATETIME | 26 | √ | null |
|
|
|||||
| all_day | BIT | 1 | 0 |
|
|
||||||
| timezone | VARCHAR | 50 | America/New_York |
|
|
||||||
| assigned_to_id | VARCHAR | 36 | √ | null |
|
|
|||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| created_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
||||||
| updated_at | DATETIME | 19 | √ | null |
|
|
|||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_dol_assigned_to | Performance | Asc | assigned_to_id |
| idx_dol_created | Performance | Asc | created_at |
| idx_dol_entity | Performance | Asc/Asc | related_entity_type + related_entity_id |
| idx_dol_lbl | Performance | Asc | location_business_line_id |
| idx_dol_priority | Performance | Asc | priority |
| idx_dol_starts_at | Performance | Asc | starts_at |
| idx_dol_status | Performance | Asc | status |
| idx_dol_type | Performance | Asc | log_type |