📦 Magento_Catalog · engine innodb
catalog_product_website
Catalog Product To Website Linkage Table
Neighbourhood (1-hop foreign-key graph — showing 2 of 2)
flowchart LR c["catalog_product_website"]:::center n0["store_website"] click n0 "/schema/table/store_website" n0 -- website_id --> c n1["catalog_product_entity"] click n1 "/schema/table/catalog_product_entity" n1 -- product_id --> c click c "/schema/table/catalog_product_website" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (2)
Columns (2)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| product_id | int unsigned | no | Product ID | |
| website_id | smallint unsigned | no | Website ID |
Keys & indexes
Primary key: product_id, website_id
Indexes
- CATALOG_PRODUCT_WEBSITE_WEBSITE_ID (website_id) btree
References (2)
- website_id → store_website .website_id (on delete CASCADE)
- product_id → catalog_product_entity .entity_id (on delete CASCADE)