SWDB
← Versions / 6.2.3 /

category

Fields (18)

Name Type Null Key Default Extra
id binary(16) NO PRI NULL
version_id binary(16) NO PRI NULL
auto_increment int(11) NO UNI NULL auto_increment
parent_id binary(16) YES MUL NULL
parent_version_id binary(16) YES NULL
media_id binary(16) YES MUL NULL
cms_page_id binary(16) YES MUL NULL
path longtext YES NULL
after_category_id binary(16) YES MUL NULL
after_category_version_id binary(16) YES NULL
level int(11) unsigned NO MUL 1
active tinyint(1) NO 1
child_count int(11) unsigned NO 0
display_nested_products tinyint(1) unsigned NO 1
visible tinyint(1) unsigned NO 1
type varchar(32) NO NULL
created_at datetime(3) NO NULL
updated_at datetime(3) YES NULL

Indexes (7)

Name Columns Unique
auto_increment auto_increment Yes
fk.category.after_category_id after_category_id,after_category_version_id No
fk.category.cms_page_id cms_page_id No
fk.category.media_id media_id No
fk.category.parent_id parent_id,parent_version_id No
idx.level level No
PRIMARY id,version_id Yes

Relations From (6)

after_category_id category . id
after_category_version_id category . version_id
cms_page_id cms_page . id
media_id media . id
parent_id category . id
parent_version_id category . version_id

Referenced By (20)

category . after_category_id id
category . after_category_version_id version_id
category . parent_id id
category . parent_version_id version_id
product_category_tree . category_id id
product_category_tree . category_version_id version_id
product_category . category_id id
product_category . category_version_id version_id
sales_channel . footer_category_id id
sales_channel . footer_category_version_id version_id
sales_channel . navigation_category_id id
sales_channel . navigation_category_version_id version_id
sales_channel . service_category_id id
sales_channel . service_category_version_id version_id
category_translation . category_id id
category_translation . category_version_id version_id
category_tag . category_id id
category_tag . category_version_id version_id
main_category . category_id id
main_category . category_version_id version_id