Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
category_id | bigserial | 19 | √ | nextval('categories_category_id_seq'::regclass) |
|
|
||||||||
context_id | int8 | 19 | null |
|
|
|||||||||
parent_id | int8 | 19 | √ | null |
|
|
||||||||
seq | int8 | 19 | √ | null |
|
|
||||||||
path | varchar | 255 | null |
|
|
|||||||||
image | text | 2147483647 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
categories_pkey | 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 |