🌐 Magento_Store · engine innodb
store_group
Store Groups
Neighbourhood (1-hop foreign-key graph — showing 2 of 2)
flowchart LR c["store_group"]:::center n0["store_website"] click n0 "/schema/table/store_website" n0 -- website_id --> c n1["store"] click n1 "/schema/table/store" c -- group_id --> n1 click c "/schema/table/store_group" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (2)
Columns (6)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| group_id PK | smallint unsigned | no | Group ID | |
| website_id | smallint unsigned | no | 0 | Website ID |
| name | varchar(255) | no | Store Group Name | |
| root_category_id | int unsigned | no | 0 | Root Category ID |
| default_store_id | smallint unsigned | no | 0 | Default Store ID |
| code | varchar(32) | yes | Store group unique code |
Keys & indexes
Primary key: group_id
Unique
- STORE_GROUP_CODE (code)
Indexes
- STORE_GROUP_WEBSITE_ID (website_id) btree
- STORE_GROUP_DEFAULT_STORE_ID (default_store_id) btree
References (1)
- website_id → store_website .website_id (on delete CASCADE)
Referenced by (1)
- store .group_id → .group_id (on delete CASCADE)