🗃️ Magento_Eav · engine innodb
eav_entity
Eav Entity
Neighbourhood (1-hop foreign-key graph — showing 6 of 7)
flowchart LR c["eav_entity"]:::center n0["eav_entity_type"] click n0 "/schema/table/eav_entity_type" n0 -- entity_type_id --> c n1["store"] click n1 "/schema/table/store" n1 -- store_id --> c n2["eav_entity_datetime"] click n2 "/schema/table/eav_entity_datetime" c -- entity_id --> n2 n3["eav_entity_decimal"] click n3 "/schema/table/eav_entity_decimal" c -- entity_id --> n3 n4["eav_entity_int"] click n4 "/schema/table/eav_entity_int" c -- entity_id --> n4 n5["eav_entity_text"] click n5 "/schema/table/eav_entity_text" c -- entity_id --> n5 click c "/schema/table/eav_entity" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (7)
Columns (9)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| entity_id PK | int unsigned | no | Entity ID | |
| entity_type_id | smallint unsigned | no | 0 | Entity Type ID |
| attribute_set_id | smallint unsigned | no | 0 | Attribute Set ID |
| increment_id | varchar(50) | yes | Increment ID | |
| parent_id | int unsigned | no | 0 | Parent ID |
| store_id | smallint unsigned | no | 0 | Store ID |
| created_at | timestamp | no | CURRENT_TIMESTAMP | Created At |
| updated_at | timestamp | no | CURRENT_TIMESTAMP | Updated At |
| is_active | smallint unsigned | no | 1 | Defines Is Entity Active |
Keys & indexes
Primary key: entity_id
Indexes
- EAV_ENTITY_ENTITY_TYPE_ID (entity_type_id) btree
- EAV_ENTITY_STORE_ID (store_id) btree
References (2)
- entity_type_id → eav_entity_type .entity_type_id (on delete CASCADE)
- store_id → store .store_id (on delete CASCADE)
Referenced by (5)
- eav_entity_datetime .entity_id → .entity_id (on delete CASCADE)
- eav_entity_decimal .entity_id → .entity_id (on delete CASCADE)
- eav_entity_int .entity_id → .entity_id (on delete CASCADE)
- eav_entity_text .entity_id → .entity_id (on delete CASCADE)
- eav_entity_varchar .entity_id → .entity_id (on delete CASCADE)