⭐ Magento_Review · engine innodb
rating_option
Rating options
Neighbourhood (1-hop foreign-key graph — showing 2 of 2)
flowchart LR c["rating_option"]:::center n0["rating"] click n0 "/schema/table/rating" n0 -- rating_id --> c n1["rating_option_vote"] click n1 "/schema/table/rating_option_vote" c -- option_id --> n1 click c "/schema/table/rating_option" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (2)
Columns (5)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| option_id PK | int unsigned | no | Rating Option ID | |
| rating_id | smallint unsigned | no | 0 | Rating ID |
| code | varchar(32) | no | Rating Option Code | |
| value | smallint unsigned | no | 0 | Rating Option Value |
| position | smallint unsigned | no | 0 | Ration option position on Storefront |
Keys & indexes
Primary key: option_id
Indexes
- RATING_OPTION_RATING_ID (rating_id) btree
References (1)
- rating_id → rating .rating_id (on delete CASCADE)
Referenced by (1)
- rating_option_vote .option_id → .option_id (on delete CASCADE)