Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
category_id | BIGINT | 19 | √ | null |
|
|
||||||||
context_id | BIGINT | 19 | null |
|
|
|||||||||
parent_id | BIGINT | 19 | √ | NULL |
|
|
||||||||
seq | BIGINT | 19 | √ | NULL |
|
|
||||||||
path | VARCHAR | 255 | null |
|
|
|||||||||
image | TEXT | 65535 | √ | NULL |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | category_id |
category_context_id | Performance | Asc | context_id |
category_context_parent_id | Performance | Asc/Asc | context_id + parent_id |
category_parent_id | Performance | Asc | parent_id |
category_path | Must be unique | Asc/Asc | context_id + path |