Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| location_business_line_id | VARCHAR | 36 | null |
|
|
|||
| report_definition_id | VARCHAR | 36 | null |
|
|
|||
| user_id | VARCHAR | 36 | null |
|
|
|||
| created_at | DATETIME | 19 | null |
|
|
|||
| 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_report_favorite_user | Performance | Asc/Asc | user_id + location_business_line_id |
| uk_report_favorite | Must be unique | Asc/Asc | report_definition_id + user_id |