magento产品数据库表结构分析
2014-10-24 15:10
288 查看
转自 小株 的博客 http://blog.sina.com.cn/s/blog_6a1323780101176o.html
数据库--
产品数据库表结构分析
product
1数据库实体表:catalog_product_entity。
属性:entity_id,entity_type_id,attribute_set_id,type_id,sku,has_options,required_options,created_at,updated_at.
2next层-->属性类型表join(entity_id),通过entity_id和catalog_product_entity关联。
catalog_product_entity_datetime value_id,entity_type_id,attribute_id,store_id,entity_id,value
catalog_product_entity_decimal value_id....
catalog_product_entity_gallery
catalog_product_entity_int
catalog_product_entity_media_gallery
catalog_product_entity_media_gallery_value
catalog_product_entity_text
catalog_product_entity_tier_price
catalog_product_entity_varchar
其中,attribute_id对应属性表eav_attribute,entity_id对应catalog_product_entity表的entity_id,value对应属性值表
3
eav表
属性表
eav_attribute:attribute_id,entity_type_id,attribute_code,attribute_model,backend_model,backend_type,backend_table
frontend_model,frontend_input,frontend_label,frontend_class,source_model,is_required,is_user_defined,default_value,is_unique,note.
属性值表:
eav_attribute_group,eav_attribute_label,eav_attribute_option,eav_attribute_option_value,eav_attribute_set
eav_attribute_option_value:value_id,option_id,store_id,value
eav_attribute_option:option_id,attribute_id,sort_order,option_id和eav_attribute_option_value对应,
attribute_id和eav_attribute对应。
eav_attribute_group:是在后台添加产品信息左侧点击,譬如:general,prices,images,Design,General等。
4
eav表(entity)
eav_entity_attribute-->属性:
entity_attribute_id,entity_type_id,attribute_set_id,attribute_group,attribute_id,sort_order.
这个表是把一些表给穿起来,譬如:attribute_group对用eav_attribute_group.
5
catalog_category_product -->category_id,product_id,position
这个表的作用是把产品和分类关联起来。
6
分类表:
mg_catalog_category_entity
分类表结构。
OK到这里了
数据库--
产品数据库表结构分析
product
1数据库实体表:catalog_product_entity。
属性:entity_id,entity_type_id,attribute_set_id,type_id,sku,has_options,required_options,created_at,updated_at.
2next层-->属性类型表join(entity_id),通过entity_id和catalog_product_entity关联。
catalog_product_entity_datetime value_id,entity_type_id,attribute_id,store_id,entity_id,value
catalog_product_entity_decimal value_id....
catalog_product_entity_gallery
catalog_product_entity_int
catalog_product_entity_media_gallery
catalog_product_entity_media_gallery_value
catalog_product_entity_text
catalog_product_entity_tier_price
catalog_product_entity_varchar
其中,attribute_id对应属性表eav_attribute,entity_id对应catalog_product_entity表的entity_id,value对应属性值表
3
eav表
属性表
eav_attribute:attribute_id,entity_type_id,attribute_code,attribute_model,backend_model,backend_type,backend_table
frontend_model,frontend_input,frontend_label,frontend_class,source_model,is_required,is_user_defined,default_value,is_unique,note.
属性值表:
eav_attribute_group,eav_attribute_label,eav_attribute_option,eav_attribute_option_value,eav_attribute_set
eav_attribute_option_value:value_id,option_id,store_id,value
eav_attribute_option:option_id,attribute_id,sort_order,option_id和eav_attribute_option_value对应,
attribute_id和eav_attribute对应。
eav_attribute_group:是在后台添加产品信息左侧点击,譬如:general,prices,images,Design,General等。
4
eav表(entity)
eav_entity_attribute-->属性:
entity_attribute_id,entity_type_id,attribute_set_id,attribute_group,attribute_id,sort_order.
这个表是把一些表给穿起来,譬如:attribute_group对用eav_attribute_group.
5
catalog_category_product -->category_id,product_id,position
这个表的作用是把产品和分类关联起来。
6
分类表:
mg_catalog_category_entity
分类表结构。
OK到这里了
相关文章推荐
- magento产品数据库表结构分析[magento二次开发]
- 产品数据库表结构分析
- magento下订单流程以及订单数据库结构分析
- 利用Rational Rose进行C++代码和数据库结构分析
- C#分析数据库结构,使用XSL模板自动生成代码
- C#分析数据库结构,使用XSL模板自动生成代码 - 清清月儿 .NET万花筒 Asp.net技术 Asp.net教程 Asp.net源码 Asp.net基础 Asp.net控件 Asp.net入门 - CSDNBlog
- 通用数据采集与统计分析管理系统,随数据库结构的调整而自动调整
- C#分析数据库结构,使用XSL模板自动生成代码
- 查询 数据库所有用户表 的记录,对分析数据库表的结构很有用,很方便,贴出来,备用!
- 利用Rational Rose进行C++代码和数据库结构分析
- moss2007 权限体系分析(深入到数据库结构的分析)。
- 开源ERP的精华-OpenBravo 数据库结构基本分析
- C#分析数据库结构,使用XSL模板自动生成代码
- 利用Rational Rose进行C++代码和数据库结构分析
- C#分析数据库结构,使用XSL模板自动生成代码
- moss2007 权限体系分析(深入到数据库结构的分析)
- 如何保证开发过程中对数据库结构的更新顺利地迁移到产品服务器上。
- C#分析数据库结构,使用XSL模板自动生成代码(二)
- moss2007 权限体系分析(深入到数据库结构的分析)
- 利用Rational Rose进行C++代码和数据库结构分析