MageSmith

📈 Magento_Reports · engine innodb

report_event

Reports Event Table

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

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

Click a node to jump to that table.

Columns (7)

NameTypeNullDefaultComment
event_id PKbigint unsignednoEvent ID
logged_at timestamp noCURRENT_TIMESTAMPLogged At
event_type_id smallint unsignedno0Event Type ID
object_id int unsignedno0Object ID
subject_id int unsignedno0Subject ID
subtype smallint unsignedno0Subtype
store_id smallint unsignednoStore ID

Keys & indexes

Primary key: event_id

Indexes

  • REPORT_EVENT_EVENT_TYPE_ID (event_type_id) btree
  • REPORT_EVENT_SUBJECT_ID (subject_id) btree
  • REPORT_EVENT_OBJECT_ID (object_id) btree
  • REPORT_EVENT_SUBTYPE (subtype) btree
  • REPORT_EVENT_STORE_ID (store_id) btree

References (2)

  • store_id store .store_id (on delete CASCADE)
  • event_type_id report_event_types .event_type_id (on delete CASCADE)