MageSmith

Magento_Review · engine innodb

rating_option_vote

Rating option values

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

flowchart LR
  c["rating_option_vote"]:::center
  n0["rating_option"]
  click n0 "/schema/table/rating_option"
  n0 -- option_id --> c
  n1["review"]
  click n1 "/schema/table/review"
  n1 -- review_id --> c
  click c "/schema/table/rating_option_vote"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (10)

NameTypeNullDefaultComment
vote_id PKbigint unsignednoVote ID
option_id int unsignedno0Vote option ID
remote_ip varchar(16) noCustomer IP
remote_ip_long bigint no0Customer IP converted to long integer format
customer_id int unsignedyes0Customer ID
entity_pk_value bigint unsignedno0Product ID
rating_id smallint unsignedno0Rating ID
review_id bigint unsignedyesReview ID
percent smallint no0Percent amount
value smallint no0Vote option value

Keys & indexes

Primary key: vote_id

Indexes

  • RATING_OPTION_VOTE_OPTION_ID (option_id) btree

References (2)

  • option_id rating_option .option_id (on delete CASCADE)
  • review_id review .review_id (on delete CASCADE)