MageSmith

Magento_Review · engine innodb

review_detail

Review detail information

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

flowchart LR
  c["review_detail"]:::center
  n0["customer_entity"]
  click n0 "/schema/table/customer_entity"
  n0 -- customer_id --> c
  n1["review"]
  click n1 "/schema/table/review"
  n1 -- review_id --> c
  n2["store"]
  click n2 "/schema/table/store"
  n2 -- store_id --> c
  click c "/schema/table/review_detail"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (7)

NameTypeNullDefaultComment
detail_id PKbigint unsignednoReview detail ID
review_id bigint unsignedno0Review ID
store_id smallint unsignedyes0Store ID
title varchar(255) noTitle
detail text noDetail description
nickname varchar(128) noUser nickname
customer_id int unsignedyesCustomer ID

Keys & indexes

Primary key: detail_id

Indexes

  • REVIEW_DETAIL_REVIEW_ID (review_id) btree
  • REVIEW_DETAIL_STORE_ID (store_id) btree
  • REVIEW_DETAIL_CUSTOMER_ID (customer_id) btree

References (3)

  • customer_id customer_entity .entity_id (on delete SET NULL)
  • review_id review .review_id (on delete CASCADE)
  • store_id store .store_id (on delete SET NULL)