MageSmith

🗃️ Magento_Eav · engine innodb

eav_entity_decimal

Eav Entity Value Prefix

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

flowchart LR
  c["eav_entity_decimal"]:::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_decimal"
  classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px

Click a node to jump to that table.

Columns (6)

NameTypeNullDefaultComment
value_id PKint noValue ID
entity_type_id smallint unsignedno0Entity Type ID
attribute_id smallint unsignedno0Attribute ID
store_id smallint unsignedno0Store ID
entity_id int unsignedno0Entity ID
value decimal no0Attribute Value

Keys & indexes

Primary key: value_id

Unique

  • EAV_ENTITY_DECIMAL_ENTITY_ID_ATTRIBUTE_ID_STORE_ID (entity_id, attribute_id, store_id)

Indexes

  • EAV_ENTITY_DECIMAL_STORE_ID (store_id) btree
  • EAV_ENTITY_DECIMAL_ATTRIBUTE_ID_VALUE (attribute_id, value) btree
  • EAV_ENTITY_DECIMAL_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)