← Shopware 6.7.7.1

Shopware 6.7.7.1 main_category

Columns

8 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
product_id binary(16) NO Index Foreign Key → product.id
product_version_id binary(16) NO Foreign Key → product.version_id
category_id binary(16) NO Index Foreign Key → category.id
category_version_id binary(16) NO Foreign Key → category.version_id
sales_channel_id binary(16) NO Index Foreign Key → sales_channel.id
created_at datetime(3) NO
updated_at datetime(3) YES

Indexes

4 indexes

Index Name Columns Unique
fk.main_category.category_id category_id,category_version_id No
fk.main_category.sales_channel_id sales_channel_id No
PRIMARY id Yes
uniq.main_category.sales_channel_product product_id,product_version_id,sales_channel_id Yes

Relations (from this table)

5 relations

Local Field Foreign Table Foreign Field
category_id category id
category_version_id category version_id
product_id product id
product_version_id product version_id
sales_channel_id sales_channel id