Questions:

  • What are the types of tables created when you create an EAV model?
  • How many tables are required for creating EAV model?

Sample Answer:

Following are the 6 tables that are created when creating an EAV model:

  • ModuleEntityName
  • ModuleEntityName_datetime
  • ModuleEntityName_decimal
  • ModuleEntityName_int
  • ModuleEntityName_text
  • ModuleEntityName_varchar

Example EAV Model:

  • catalog_product_entity
  • catalog_product_entity_datetime
  • catalog_product_entity_decimal
  • catalog_product_entity_int
  • catalog_product_entity_text
  • catalog_product_entity_varchar

Related Posts