Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT UNSIGNED | 10 | √ | null |
|
|
|||||
| uuid | CHAR | 36 | √ | null |
|
|
|||||
| account_id | INT UNSIGNED | 10 | null |
|
|
||||||
| contact_id | INT UNSIGNED | 10 | null |
|
|
||||||
| life_event_type_id | INT UNSIGNED | 10 | null |
|
|
||||||
| reminder_id | INT UNSIGNED | 10 | √ | null |
|
|
|||||
| name | VARCHAR | 255 | √ | null |
|
|
|||||
| note | MEDIUMTEXT | 16777215 | √ | null |
|
|
|||||
| happened_at | DATETIME | 19 | null |
|
|
||||||
| happened_at_month_unknown | BIT | 1 | 0 |
|
|
||||||
| happened_at_day_unknown | BIT | 1 | 0 |
|
|
||||||
| specific_information | TEXT | 65535 | √ | null |
|
|
|||||
| created_at | TIMESTAMP | 19 | √ | null |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| life_events_account_id_uuid_index | Performance | Asc/Asc | account_id + uuid |
| life_events_contact_id_foreign | Performance | Asc | contact_id |
| life_events_life_event_type_id_foreign | Performance | Asc | life_event_type_id |
| life_events_reminder_id_foreign | Performance | Asc | reminder_id |



