MageSmith

Magento_Review · engine innodb

rating_option_vote_aggregated

Rating vote aggregated

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

flowchart LR
  c["rating_option_vote_aggregated"]:::center
  n0["rating"]
  click n0 "/schema/table/rating"
  n0 -- rating_id --> c
  n1["store"]
  click n1 "/schema/table/store"
  n1 -- store_id --> c
  click c "/schema/table/rating_option_vote_aggregated"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (8)

NameTypeNullDefaultComment
primary_id PKint noVote aggregation ID
rating_id smallint unsignedno0Rating ID
entity_pk_value bigint unsignedno0Product ID
vote_count int unsignedno0Vote dty
vote_value_sum int unsignedno0General vote sum
percent smallint no0Vote percent
percent_approved smallint yes0Vote percent approved by admin
store_id smallint unsignedno0Store ID

Keys & indexes

Primary key: primary_id

Indexes

  • RATING_OPTION_VOTE_AGGREGATED_RATING_ID (rating_id) btree
  • RATING_OPTION_VOTE_AGGREGATED_STORE_ID (store_id) btree

References (2)

  • rating_id rating .rating_id (on delete CASCADE)
  • store_id store .store_id (on delete CASCADE)