MageSmith

🛒 Magento_SalesRule · engine innodb

salesrule_coupon_usage

Salesrule Coupon Usage

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

flowchart LR
  c["salesrule_coupon_usage"]:::center
  n0["salesrule_coupon"]
  click n0 "/schema/table/salesrule_coupon"
  n0 -- coupon_id --> c
  n1["customer_entity"]
  click n1 "/schema/table/customer_entity"
  n1 -- customer_id --> c
  click c "/schema/table/salesrule_coupon_usage"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (3)

NameTypeNullDefaultComment
coupon_id int unsignednoCoupon ID
customer_id int unsignednoCustomer ID
times_used int unsignedno0Times Used

Keys & indexes

Primary key: coupon_id, customer_id

Indexes

  • SALESRULE_COUPON_USAGE_CUSTOMER_ID (customer_id) btree

References (2)