Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | CHAR | 36 | null |
|
|
ログID |
||||
| user_id | CHAR | 36 | null |
|
|
通知先ユーザーID |
||||
| goal_setting_id | CHAR | 36 | null |
|
|
対象目標期間ID |
||||
| reminder_type | enum('EARLY', 'FINAL') | 5 | null |
|
|
EARLY=期限5日前, FINAL=期限当日 |
||||
| notification_kind | enum('PERSONAL', 'TEAM') | 8 | null |
|
|
PERSONAL=個人目標, TEAM=チーム目標 |
||||
| sent_at | BIGINT UNSIGNED | 20 | null |
|
|
送信日時(Unix timestamp) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_goal_unset_notification_goal_setting | Performance | Asc | goal_setting_id |
| uk_goal_unset_notification | Must be unique | Asc/Asc/Asc/Asc | user_id + goal_setting_id + reminder_type + notification_kind |

