Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| announcement_id | VARCHAR | 36 | null |
|
|
||||||
| recipient_type | VARCHAR | 20 | null |
|
|
||||||
| recipient_id | VARCHAR | 36 | √ | null |
|
|
|||||
| recipient_name | VARCHAR | 255 | √ | null |
|
|
|||||
| recipient_email | VARCHAR | 255 | √ | null |
|
|
|||||
| recipient_phone | VARCHAR | 50 | √ | null |
|
|
|||||
| email_status | VARCHAR | 20 | √ | PENDING |
|
|
|||||
| sms_status | VARCHAR | 20 | √ | PENDING |
|
|
|||||
| notification_status | VARCHAR | 20 | √ | PENDING |
|
|
|||||
| email_error | TEXT | 65535 | √ | null |
|
|
|||||
| sms_error | TEXT | 65535 | √ | null |
|
|
|||||
| notification_error | TEXT | 65535 | √ | null |
|
|
|||||
| sent_at | DATETIME | 26 | √ | null |
|
|
|||||
| created_at | DATETIME | 26 | null |
|
|
||||||
| updated_at | DATETIME | 26 | √ | null |
|
|
|||||
| created_by | VARCHAR | 255 | √ | null |
|
|
|||||
| updated_by | VARCHAR | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_announcement_recipients_announcement | Performance | Asc | announcement_id |
| idx_announcement_recipients_status | Performance | Asc | email_status |
| idx_announcement_recipients_type | Performance | Asc | recipient_type |