MageSmith

📦 Magento_CatalogRule · engine innodb

catalogrule

CatalogRule

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

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

Click a node to jump to that table.

Columns (12)

NameTypeNullDefaultComment
rule_id PKint unsignednoEntity ID
name varchar(255) yesName
description text yesDescription
from_date date yesFrom
to_date date yesTo
is_active smallint no0Is Active
conditions_serialized mediumtext yesConditions Serialized
actions_serialized mediumtext yesActions Serialized
stop_rules_processing smallint no1Stop Rules Processing
sort_order int unsignedno0Sort Order
simple_action varchar(32) yesSimple Action
discount_amount decimal no0Discount Amount

Keys & indexes

Primary key: rule_id

Indexes

  • CATALOGRULE_IS_ACTIVE_SORT_ORDER_TO_DATE_FROM_DATE (is_active, sort_order, to_date, from_date) btree

Referenced by (2)