Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| run_id | VARCHAR | 36 | null |
|
|
||||||
| scheduled_job_id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | √ | null |
|
|
|||||
| target_entity_type | VARCHAR | 50 | null |
|
|
||||||
| target_entity_id | VARCHAR | 36 | null |
|
|
||||||
| action_type | VARCHAR | 30 | null |
|
|
||||||
| channel | VARCHAR | 20 | null |
|
|
||||||
| recipient_ref | VARCHAR | 255 | √ | null |
|
|
|||||
| dedupe_key | VARCHAR | 512 | √ | null |
|
|
|||||
| status | VARCHAR | 20 | null |
|
|
||||||
| detail | VARCHAR | 1000 | √ | null |
|
|
|||||
| 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_sja_job | Performance | Asc | scheduled_job_id |
| idx_sja_run | Performance | Asc | run_id |
| idx_sja_target | Performance | Asc/Asc | target_entity_type + target_entity_id |
| uk_scheduled_job_action_dedupe | Must be unique | Asc | dedupe_key |