Upgrade to Pro — share decks privately, control downloads, hide ads and more …

EC-CUBE3のデータベース構造のお話

amidaike
November 05, 2015

 EC-CUBE3のデータベース構造のお話

amidaike

November 05, 2015
Tweet

More Decks by amidaike

Other Decks in Programming

Transcript

  1. ৽͘͠ͳͬͨDBεΩʔϚ • ໋໊ن໿ͷϧʔϧ
 ল໊ུশͷഇࢭ : dtb_deliv → dtb_delivery
 ୯਺ܗʹมߋ :

    dtb_products → dtb_product
 εωʔΫέʔεͰ໋໊ : dtb_class_category • ςʔϒϧʹ͸छผʹΑΓϓϨϑΟΫεΛ͚ͭΔ
 Ϛελςʔϒϧ : mtb_hogehoge
 σʔλςʔϒϧ : dtb_hogehoge
 ϓϥάΠϯؔ࿈ : plg_hogehoge
  2. 3ܥͰ࡟আ͞Εͨςʔϒϧ ςʔϒϧ໊ ࿦ཧςʔϒϧ໊ dtb_api_account APIΞΧ΢ϯτ dtb_api_config APIઃఆ dtb_best_products ͓͢͢Ί঎඼৘ใ dtb_bkup

    όοΫΞοϓ dtb_class ن֨৘ใ(dtb_class_name΁໊শมߋ) dtb_csv_sql CSVৄࡉઃఆSQL৘ใ dtb_holiday ٳ೔৘ใ dtb_index_list ΠϯσοΫεҰཡ dtb_kiyaku ن໿৘ใ(dtb_help΁໊শมߋ) dtb_mailmaga_template ϝϧϚΨςϯϓϨʔτ৘ใ
  3. 3ܥͰ࡟আ͞Εͨςʔϒϧ ςʔϒϧ໊ ࿦ཧςʔϒϧ໊ dtb_maker ϝʔΧʔ dtb_maker_count ϝʔΧʔΧ΢ϯτ dtb_mobile_ext_session_id ϞόΠϧηογϣϯ৘ใ dtb_module

    Ϟδϡʔϧ৘ใ dtb_module_update_logs Ϟδϡʔϧߋ৽ϩά৘ใ dtb_order_temp ड஫Ұ࣌৘ใ dtb_other_deliv ͦͷଞͷ഑ૹઌ৘ใ (dtb_customer_address΁໊শมߋ) dtb_ownersstore_settings ΦʔφʔζετΞઃఆ dtb_plugin_hookpoint ϓϥάΠϯϑοΫϙΠϯτ
  4. 3ܥͰ࡟আ͞Εͨςʔϒϧ ςʔϒϧ໊ ࿦ཧςʔϒϧ໊ dtb_product_status ঎඼εςʔλε৘ใ dtb_recommend_products ؔ࿈঎඼৘ใ dtb_review ϨϏϡʔ৘ใ dtb_send_customer

    ސ٬ϝʔϧૹ৴ཤྺ dtb_send_history ϝʔϧૹ৴ཤྺ dtb_update Ϟδϡʔϧߋ৽৘ใ mtb_allowed_tag ڐՄλά mtb_auth_excludes ؅ཧը໘ೝূআ֎ mtb_constants ఆ਺Ϛελ
  5. 3ܥͰ࡟আ͞Εͨςʔϒϧ ςʔϒϧ໊ ࿦ཧςʔϒϧ໊ mtb_delivery_date ঎඼ൃૹ೔(dtb_delivery_dateʹมߋ) mtb_disable_logout ϩάΞ΢τແޮϖʔδ mtb_magazine_type ϝϧϚΨछผ mtb_mail_magazine_type

    ϝʔϧϚΨδϯछผ mtb_mail_template ϝʔϧςϯϓϨʔτ mtb_mail_tpl_path ϝʔϧςϯϓϨʔτύε mtb_mail_type ϝʔϧछผ mtb_mobile_domain ϞόΠϧυϝΠϯ໊ mtb_ownersstoer_err ΦʔφʔζετΞΤϥʔछผ
  6. 3ܥͰ࡟আ͞Εͨςʔϒϧ ςʔϒϧ໊ ࿦ཧςʔϒϧ໊ mtb_permission ؅ཧը໘ΞΫηεݖݶ mtb_product_status_color ঎඼εςʔλε৭ mtb_recommend ͓͢͢ΊϨϕϧ mtb_reminder

    ύεϫʔυ࣭໰Ϛελ mtb_review_deny_url ϨϏϡʔڋ൱URL mtb_status ঎඼εςʔλε mtb_status_image εςʔλεը૾ mtb_target ϒϩοΫλʔήοτ mtb_wday ༵೔
  7. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_api_account APIΞΧ΢ϯτ × dtb_api_config APIઃఆ ×

    dtb_baseinfo ళجຊ৘ใ dtb_base_info dtb_best_products ͓͢͢Ί঎඼৘ใ × dtb_bkup όοΫΞοϓ × dtb_bloc ϒϩοΫ৘ใ dtb_block dtb_blocposition ϒϩοΫهࣄ৘ใ dtb_block_position dtb_category ΧςΰϦ৘ใ dtb_category dtb_category_count ΧςΰϦ঎඼਺৘ใ dtb_category_count
  8. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_category_total_count ΧςΰϦ঎඼߹ܭ਺৘ใ dtb_category_total_count dtb_class ن֨৘ใ dtb_class_name

    dtb_classcategory ن֨෼ྨ৘ใ dtb_class_category dtb_csv CSV৘ใ dtb_csv dtb_csv_sql CSVৄࡉઃఆSQL৘ใ × dtb_customer ސ٬৘ใ dtb_customer dtb_customer_favorite_pro ducts ͓ؾʹೖΓ঎඼৘ใ dtb_customer_favorite_pro duct dtb_deliv ഑ૹۀऀ৘ใ dtb_delivery dtb_delivfee ૹྉ৘ใ dtb_delivery_fee
  9. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_delivtime ഑ૹ࣌ؒ৘ใ dtb_delivery_time dtb_holiday ٳ೔৘ใ ×

    dtb_index_list ΠϯσοΫεҰཡ × dtb_kiyaku ن໿৘ใ dtb_help dtb_mail_history ड஫ϝʔϧૹ৴ཤྺ dtb_mail_history dtb_mailmaga_template ϝϧϚΨςϯϓϨʔτ৘ ใ × dtb_mailtemplate ϝʔϧςϯϓϨʔτ৘ใ dtb_mail_template dtb_maker ϝʔΧʔ × dtb_maker_count ϝʔΧʔΧ΢ϯτ ×
  10. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_member ؅ཧऀ৘ใ dtb_member dtb_mobile_ext_session_id ϞόΠϧηογϣϯ৘ใ ×

    dtb_module Ϟδϡʔϧ৘ใ × dtb_module_update_log Ϟδϡʔϧߋ৽ϩά৘ใ × dtb_news ৽ண৘ใ dtb_news dtb_order ड஫৘ใ dtb_order dtb_order_detail ड஫ৄࡉ৘ใ dtb_order_detail dtb_order_temp ड஫Ұ࣌৘ใ × dtb_other_deliv ͦͷଞͷ഑ૹઌ৘ใ dtb_customer_address
  11. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_ownersstore_settings ΦʔφʔζετΞઃఆ × dtb_pagelayout ϖʔδϨΠΞ΢τ৘ใ dtb_page_layout

    dtb_payment ࢧ෷ํ๏৘ใ dtb_payment dtb_payment_options ࢧ෷બ୒ࢶ৘ใ dtb_payment_option dtb_plugin ϓϥάΠϯ৘ใ dtb_plugin dtb_plugin_hookpoint ϓϥάΠϯϑοΫϙΠϯ τ × dtb_products ঎඼৘ใ dtb_product dtb_product_categories ঎඼ΧςΰϦؔ࿈ dtb_product_category dtb_product_class ঎඼ن֨৘ใ dtb_product_class
  12. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_product_status ঎඼εςʔλε৘ใ × dtb_recommend_products ؔ࿈঎඼৘ใ ×

    dtb_review ϨϏϡʔআ๏ × dtb_send_customer ސ٬ϝʔϧૹ৴ཤྺ × dtb_send_history ϝʔϧૹ৴ཤྺ × dtb_session ηογϣϯ৘ใ dtb_session dtb_shipment_item ഑ૹ঎඼৘ใ dtb_shipment_item dtb_shipping ͓ಧ͚ઌ৘ใ dtb_shipping dtb_tax_rule ফඅ੫ϧʔϧ dtb_tax_rule
  13. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ dtb_templates ςϯϓϨʔτ৘ใ dtb_template dtb_update Ϟδϡʔϧߋ৽৘ใ ×

    mtb_allowed_tag ڐՄλά × mtb_auth_excludes ؅ཧը໘ೝূআ֎ × mtb_authority ؅ཧऀϚελ mtb_authority mtb_constants ఆ਺Ϛελ × mtb_country ࠃϚελ mtb_country mtb_customer_order_statu s ސ٬දࣔ༻ड஫εςʔλ ε mtb_cusotmer_order_statu s mtb_customer_status ސ٬εςʔλε mtb_customer_status
  14. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ mtb_db σʔλϕʔεछผ mtb_db mtb_delivery_date ঎඼ൃૹ೔ dtb_delivery_date

    mtb_device_type ୺຤छผ mtb_device_type mtb_disable_logout ϩάΞ΢τແޮϖʔδ × mtb_disp ެ։ϑϥά mtb_disp mtb_job ৬ۀϚελ mtb_job mtb_magazine_type ϝϧϚΨछผ × mtb_mail_magazine_type ϝʔϧϚΨδϯछผ × mtb_mail_template ϝʔϧςϯϓϨʔτ ×
  15. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ mtb_mail_tpl_path ϝʔϧςϯϓϨʔτύε × mtb_mail_type ϝʔϧछผ ×

    mtb_mobile_domain ϞόΠϧυϝΠϯ໊ × mtb_order_status ड஫ঢ়ଶ mtb_order_status mtb_order_status_color ड஫εςʔλε৭ mtb_order_status_color mtb_ownersstoer_err ΦʔφʔζετΞΤϥʔ छผ × mtb_page_max ϖʔδ࠷େදࣔ਺ mtb_page_max mtb_permission ؅ཧը໘ΞΫηεݖݶ × mtb_pref ౎ಓ෎ݝϚελ mtb_pref
  16. 2ܥͱ3ܥͷςʔϒϧରൺ 2ܥςʔϒϧ ࿦ཧςʔϒϧ໊ 3ܥςʔϒϧ mtb_product_list_max ঎඼Ұཡ࠷େදࣔ਺ mtb_product_list_max mtb_product_status_color ঎඼εςʔλε৭ ×

    mtb_product_type ঎඼छผϚελ mtb_product_type mtb_recommend ͓͢͢ΊϨϕϧ × mtb_reminder ύεϫʔυ࣭໰Ϛελ × mtb_review_deny_url ϨϏϡʔڋ൱URL × mtb_sex ੑผϚελ mtb_sex mtb_status ঎඼εςʔλε × mtb_status_image εςʔλεը૾ ×