📦 Magento_ProductAlert · engine innodb
product_alert_price
Product Alert Price
Neighbourhood (1-hop foreign-key graph — showing 4 of 4)
flowchart LR c["product_alert_price"]:::center n0["customer_entity"] click n0 "/schema/table/customer_entity" n0 -- customer_id --> c n1["catalog_product_entity"] click n1 "/schema/table/catalog_product_entity" n1 -- product_id --> c n2["store_website"] click n2 "/schema/table/store_website" n2 -- website_id --> c n3["store"] click n3 "/schema/table/store" n3 -- store_id --> c click c "/schema/table/product_alert_price" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (4)
Columns (10)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| alert_price_id PK | int unsigned | no | Product alert price ID | |
| customer_id | int unsigned | no | 0 | Customer ID |
| product_id | int unsigned | no | 0 | Product ID |
| price | decimal | no | 0 | Price amount |
| website_id | smallint unsigned | no | 0 | Website ID |
| store_id | smallint unsigned | yes | 0 | Store ID |
| add_date | timestamp | no | CURRENT_TIMESTAMP | Product alert add date |
| last_send_date | timestamp | yes | Product alert last send date | |
| send_count | smallint unsigned | no | 0 | Product alert send count |
| status | smallint unsigned | no | 0 | Product alert status |
Keys & indexes
Primary key: alert_price_id
Indexes
- PRODUCT_ALERT_PRICE_CUSTOMER_ID (customer_id) btree
- PRODUCT_ALERT_PRICE_PRODUCT_ID (product_id) btree
- PRODUCT_ALERT_PRICE_WEBSITE_ID (website_id) btree
- PRODUCT_ALERT_PRICE_STORE_ID (store_id) btree
References (4)
- customer_id → customer_entity .entity_id (on delete CASCADE)
- product_id → catalog_product_entity .entity_id (on delete CASCADE)
- website_id → store_website .website_id (on delete CASCADE)
- store_id → store .store_id (on delete CASCADE)