MageSmith

📦 Magento_ProductAlert · engine innodb

product_alert_stock

Product Alert Stock

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

flowchart LR
  c["product_alert_stock"]:::center
  n0["store_website"]
  click n0 "/schema/table/store_website"
  n0 -- website_id --> c
  n1["customer_entity"]
  click n1 "/schema/table/customer_entity"
  n1 -- customer_id --> c
  n2["catalog_product_entity"]
  click n2 "/schema/table/catalog_product_entity"
  n2 -- product_id --> c
  n3["store"]
  click n3 "/schema/table/store"
  n3 -- store_id --> c
  click c "/schema/table/product_alert_stock"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (9)

NameTypeNullDefaultComment
alert_stock_id PKint unsignednoProduct alert stock ID
customer_id int unsignedno0Customer ID
product_id int unsignedno0Product ID
website_id smallint unsignedno0Website ID
store_id smallint unsignedyes0Store ID
add_date timestamp noCURRENT_TIMESTAMPProduct alert add date
send_date timestamp yesProduct alert send date
send_count smallint unsignedno0Send Count
status smallint unsignedno0Product alert status

Keys & indexes

Primary key: alert_stock_id

Indexes

  • PRODUCT_ALERT_STOCK_CUSTOMER_ID (customer_id) btree
  • PRODUCT_ALERT_STOCK_PRODUCT_ID (product_id) btree
  • PRODUCT_ALERT_STOCK_WEBSITE_ID (website_id) btree
  • PRODUCT_ALERT_STOCK_STORE_ID (store_id) btree

References (4)