🗃️ Magento_Eav · engine innodb
eav_entity_int
Eav Entity Value Prefix
Neighbourhood (1-hop foreign-key graph — showing 3 of 3)
flowchart LR c["eav_entity_int"]:::center n0["eav_entity"] click n0 "/schema/table/eav_entity" n0 -- entity_id --> c n1["eav_entity_type"] click n1 "/schema/table/eav_entity_type" n1 -- entity_type_id --> c n2["store"] click n2 "/schema/table/store" n2 -- store_id --> c click c "/schema/table/eav_entity_int" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (3)
Columns (6)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| value_id PK | int | no | Value ID | |
| entity_type_id | smallint unsigned | no | 0 | Entity Type ID |
| attribute_id | smallint unsigned | no | 0 | Attribute ID |
| store_id | smallint unsigned | no | 0 | Store ID |
| entity_id | int unsigned | no | 0 | Entity ID |
| value | int | no | 0 | Attribute Value |
Keys & indexes
Primary key: value_id
Unique
- EAV_ENTITY_INT_ENTITY_ID_ATTRIBUTE_ID_STORE_ID (entity_id, attribute_id, store_id)
Indexes
- EAV_ENTITY_INT_STORE_ID (store_id) btree
- EAV_ENTITY_INT_ATTRIBUTE_ID_VALUE (attribute_id, value) btree
- EAV_ENTITY_INT_ENTITY_TYPE_ID_VALUE (entity_type_id, value) btree
References (3)
- entity_id → eav_entity .entity_id (on delete CASCADE)
- entity_type_id → eav_entity_type .entity_type_id (on delete CASCADE)
- store_id → store .store_id (on delete CASCADE)