MageSmith

📦 Magento_CatalogRule · engine innodb

catalogrule_customer_group

Catalog Rules To Customer Groups Relations

Neighbourhood (1-hop foreign-key graph — showing 2 of 2)

flowchart LR
  c["catalogrule_customer_group"]:::center
  n0["catalogrule"]
  click n0 "/schema/table/catalogrule"
  n0 -- rule_id --> c
  n1["customer_group"]
  click n1 "/schema/table/customer_group"
  n1 -- customer_group_id --> c
  click c "/schema/table/catalogrule_customer_group"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (2)

NameTypeNullDefaultComment
rule_id int unsignednoRule ID
customer_group_id int unsignednoCustomer Group ID

Keys & indexes

Primary key: rule_id, customer_group_id

Indexes

  • CATALOGRULE_CUSTOMER_GROUP_CUSTOMER_GROUP_ID (customer_group_id) btree

References (2)

  • rule_id catalogrule .rule_id (on delete CASCADE)
  • customer_group_id customer_group .customer_group_id (on delete CASCADE)