MageSmith

🌐 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.

Columns (6)

NameTypeNullDefaultComment
group_id PKsmallint unsignednoGroup ID
website_id smallint unsignedno0Website ID
name varchar(255) noStore Group Name
root_category_id int unsignedno0Root Category ID
default_store_id smallint unsignedno0Default Store ID
code varchar(32) yesStore 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)

Referenced by (1)

  • store .group_id .group_id (on delete CASCADE)