Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| objective_scope | VARCHAR | 40 | null |
|
|
|||
| objective_id | VARCHAR | 36 | null |
|
|
|||
| parent_item_id | VARCHAR | 36 | null |
|
|
|||
| location_business_line_id | VARCHAR | 36 | null |
|
|
|||
| first_met_date | DATE | 10 | null |
|
|
|||
| actioned | BIT | 1 | 0 |
|
|
|||
| actioned_at | DATETIME | 26 | √ | null |
|
|
||
| actioned_by | VARCHAR | 36 | √ | 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_mastery_observation_actioned | Performance | Asc/Asc | actioned + first_met_date |
| idx_mastery_observation_location | Performance | Asc | location_business_line_id |
| idx_mastery_observation_parent | Performance | Asc/Asc | objective_scope + parent_item_id |
| uk_mastery_observation_objective | Must be unique | Asc/Asc | objective_scope + objective_id |