MageSmith

🛒 Magento_SalesRule · engine innodb

salesrule_label

Salesrule Label

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

flowchart LR
  c["salesrule_label"]:::center
  n0["salesrule"]
  click n0 "/schema/table/salesrule"
  n0 -- rule_id --> c
  n1["store"]
  click n1 "/schema/table/store"
  n1 -- store_id --> c
  click c "/schema/table/salesrule_label"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (4)

NameTypeNullDefaultComment
label_id PKint unsignednoLabel ID
rule_id int unsignednoRule ID
store_id smallint unsignednoStore ID
label varchar(255) yesLabel

Keys & indexes

Primary key: label_id

Unique

  • SALESRULE_LABEL_RULE_ID_STORE_ID (rule_id, store_id)

Indexes

  • SALESRULE_LABEL_STORE_ID (store_id) btree

References (2)

  • rule_id salesrule .rule_id (on delete CASCADE)
  • store_id store .store_id (on delete CASCADE)