📈 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.
Related tables (2)
Columns (7)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| event_id PK | bigint unsigned | no | Event ID | |
| logged_at | timestamp | no | CURRENT_TIMESTAMP | Logged At |
| event_type_id | smallint unsigned | no | 0 | Event Type ID |
| object_id | int unsigned | no | 0 | Object ID |
| subject_id | int unsigned | no | 0 | Subject ID |
| subtype | smallint unsigned | no | 0 | Subtype |
| store_id | smallint unsigned | no | Store 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)