Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
|||||||||||
| name | VARCHAR | 255 | null |
|
|
||||||||||||
| parent_id | INT | 10 | √ | null |
|
|
|||||||||||
| level | INT | 10 | 0 |
|
|
||||||||||||
| path | VARCHAR | 255 | null |
|
|
||||||||||||
| created_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
||||||||||||
| updated_at | DATETIME | 19 | CURRENT_TIMESTAMP |
|
|
||||||||||||
| deleted_at | DATETIME | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_product_categories_parent_id | Performance | Asc | parent_id |

