diff --git a/docs/.tbls.yml b/docs/.tbls.yml
new file mode 100644
index 0000000000..928e05d5ac
--- /dev/null
+++ b/docs/.tbls.yml
@@ -0,0 +1,840 @@
+dsn: postgres://eccube_db_user:password@host.docker.internal:15432/eccube_db?sslmode=disable
+docPath: /work/docs/database-schema
+name: EC-CUBE 2.17.x table definition
+desc: EC-CUBE 2.17.x テーブル定義書
+er:
+ comment: true
+relations:
+ -
+ table: dtb_baseinfo
+ columns:
+ - pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_baseinfo
+ columns:
+ - country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_baseinfo
+ columns:
+ - law_country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_products_class
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_products_class
+ columns:
+ - classcategory_id1
+ parentTable: dtb_classcategory
+ parentColumns:
+ - classcategory_id
+ -
+ table: dtb_products_class
+ columns:
+ - classcategory_id2
+ parentTable: dtb_classcategory
+ parentColumns:
+ - classcategory_id
+ -
+ table: dtb_products_class
+ columns:
+ - product_type_id
+ parentTable: mtb_product_type
+ parentColumns:
+ - id
+ -
+ table: dtb_products_class
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_classcategory
+ columns:
+ - class_id
+ parentTable: dtb_class
+ parentColumns:
+ - class_id
+ -
+ table: dtb_classcategory
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_class
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_product_status
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_product_status
+ columns:
+ - product_status_id
+ parentTable: mtb_status
+ parentColumns:
+ - id
+ -
+ table: dtb_product_status
+ columns:
+ - product_status_id
+ parentTable: mtb_status_image
+ parentColumns:
+ - id
+ -
+ table: dtb_product_status
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_products
+ columns:
+ - maker_id
+ parentTable: dtb_maker
+ parentColumns:
+ - maker_id
+ -
+ table: dtb_products
+ columns:
+ - status
+ parentTable: mtb_disp
+ parentColumns:
+ - id
+ -
+ table: dtb_products
+ columns:
+ - deliv_date_id
+ parentTable: mtb_delivery_date
+ parentColumns:
+ - id
+ -
+ table: dtb_products
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_product_categories
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_product_categories
+ columns:
+ - category_id
+ parentTable: dtb_category
+ parentColumns:
+ - category_id
+ -
+ table: dtb_category
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_category
+ columns:
+ - parent_category_id
+ parentTable: dtb_category
+ parentColumns:
+ - category_id
+ -
+ table: dtb_category_count
+ columns:
+ - category_id
+ parentTable: dtb_category
+ parentColumns:
+ - category_id
+ -
+ table: dtb_category_total_count
+ columns:
+ - category_id
+ parentTable: dtb_category
+ parentColumns:
+ - category_id
+ -
+ table: dtb_recommend_products
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_recommend_products
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_best_products
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_best_products
+ columns:
+ - category_id
+ parentTable: dtb_category
+ parentColumns:
+ - category_id
+ -
+ table: dtb_best_products
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_review
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_review
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_review
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_customer
+ columns:
+ - country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - sex
+ parentTable: mtb_sex
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - job
+ parentTable: mtb_job
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - reminder
+ parentTable: mtb_reminder
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - status
+ parentTable: mtb_customer_status
+ parentColumns:
+ - id
+ -
+ table: dtb_customer
+ columns:
+ - mailmaga_flg
+ parentTable: mtb_mail_magazine_type
+ parentColumns:
+ - id
+ -
+ table: dtb_customer_favorite_products
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_customer_favorite_products
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_other_deliv
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_other_deliv
+ columns:
+ - country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_other_deliv
+ columns:
+ - pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - order_temp_id
+ parentTable: dtb_order_temp
+ parentColumns:
+ - order_temp_id
+ -
+ table: dtb_order
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_order
+ columns:
+ - order_country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - order_pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - order_sex
+ parentTable: mtb_sex
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - order_job
+ parentTable: mtb_job
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - deliv_id
+ parentTable: dtb_deliv
+ parentColumns:
+ - deliv_id
+ -
+ table: dtb_order
+ columns:
+ - payment_id
+ parentTable: dtb_payment
+ parentColumns:
+ - payment_id
+ -
+ table: dtb_order
+ columns:
+ - status
+ parentTable: mtb_order_status
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - status
+ parentTable: mtb_order_status_color
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - status
+ parentTable: mtb_customer_order_status
+ parentColumns:
+ - id
+ -
+ table: dtb_order
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - order_id
+ parentTable: dtb_order
+ parentColumns:
+ - order_id
+ -
+ table: dtb_order_temp
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_order_temp
+ columns:
+ - order_country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - order_pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - order_sex
+ parentTable: mtb_sex
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - order_job
+ parentTable: mtb_job
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - deliv_id
+ parentTable: dtb_deliv
+ parentColumns:
+ - deliv_id
+ -
+ table: dtb_order_temp
+ columns:
+ - payment_id
+ parentTable: dtb_payment
+ parentColumns:
+ - payment_id
+ -
+ table: dtb_order_temp
+ columns:
+ - status
+ parentTable: mtb_order_status
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - status
+ parentTable: mtb_order_status_color
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - status
+ parentTable: mtb_customer_order_status
+ parentColumns:
+ - id
+ -
+ table: dtb_order_temp
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_order_detail
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_order_detail
+ columns:
+ - product_class_id
+ parentTable: dtb_products_class
+ parentColumns:
+ - product_class_id
+ -
+ table: dtb_order_detail
+ columns:
+ - order_id
+ parentTable: dtb_order
+ parentColumns:
+ - order_id
+ -
+ table: dtb_shipping
+ columns:
+ - order_id
+ parentTable: dtb_order
+ parentColumns:
+ - order_id
+ -
+ table: dtb_shipping
+ columns:
+ - shipping_country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_shipping
+ columns:
+ - time_id
+ parentTable: dtb_delivtime
+ parentColumns:
+ - time_id
+ -
+ table: dtb_shipping
+ columns:
+ - shipping_pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_shipment_item
+ columns:
+ - product_class_id
+ parentTable: dtb_products_class
+ parentColumns:
+ - product_class_id
+ -
+ table: dtb_shipment_item
+ columns:
+ - shipping_id
+ parentTable: dtb_shipping
+ parentColumns:
+ - shipping_id
+ -
+ table: dtb_shipment_item
+ columns:
+ - order_id
+ parentTable: dtb_order
+ parentColumns:
+ - order_id
+ -
+ table: dtb_deliv
+ columns:
+ - product_type_id
+ parentTable: mtb_product_type
+ parentColumns:
+ - id
+ -
+ table: dtb_deliv
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_payment_options
+ columns:
+ - deliv_id
+ parentTable: dtb_deliv
+ parentColumns:
+ - deliv_id
+ -
+ table: dtb_payment_options
+ columns:
+ - payment_id
+ parentTable: dtb_payment
+ parentColumns:
+ - payment_id
+ -
+ table: dtb_payment
+ columns:
+ - module_id
+ parentTable: dtb_module
+ parentColumns:
+ - module_id
+ -
+ table: dtb_payment
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_delivtime
+ columns:
+ - deliv_id
+ parentTable: dtb_deliv
+ parentColumns:
+ - deliv_id
+ -
+ table: dtb_delivfee
+ columns:
+ - deliv_id
+ parentTable: dtb_deliv
+ parentColumns:
+ - deliv_id
+ -
+ table: dtb_delivfee
+ columns:
+ - pref
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_pagelayout
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_bloc
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_bloc
+ columns:
+ - plugin_id
+ parentTable: dtb_plugin
+ parentColumns:
+ - plugin_id
+ -
+ table: dtb_blocposition
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_blocposition
+ columns:
+ - page_id
+ parentTable: dtb_pagelayout
+ parentColumns:
+ - page_id
+ -
+ table: dtb_blocposition
+ columns:
+ - target_id
+ parentTable: mtb_target
+ parentColumns:
+ - id
+ -
+ table: dtb_blocposition
+ columns:
+ - bloc_id
+ parentTable: dtb_bloc
+ parentColumns:
+ - bloc_id
+ -
+ table: dtb_templates
+ columns:
+ - device_type_id
+ parentTable: mtb_device_type
+ parentColumns:
+ - id
+ -
+ table: dtb_mail_history
+ columns:
+ - template_id
+ parentTable: dtb_mailtemplate
+ parentColumns:
+ - template_id
+ -
+ table: dtb_mail_history
+ columns:
+ - order_id
+ parentTable: dtb_order
+ parentColumns:
+ - order_id
+ -
+ table: dtb_mail_history
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_send_customer
+ columns:
+ - customer_id
+ parentTable: dtb_customer
+ parentColumns:
+ - customer_id
+ -
+ table: dtb_send_history
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_mailtemplate
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_mailmaga_template
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_update
+ columns:
+ - module_id
+ parentTable: dtb_module
+ parentColumns:
+ - module_id
+ -
+ table: dtb_module_update_logs
+ columns:
+ - module_id
+ parentTable: dtb_module
+ parentColumns:
+ - module_id
+ -
+ table: dtb_holiday
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_kiyaku
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_maker
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_maker_count
+ columns:
+ - maker_id
+ parentTable: dtb_maker
+ parentColumns:
+ - maker_id
+ -
+ table: dtb_member
+ columns:
+ - work
+ parentTable: mtb_work
+ parentColumns:
+ - id
+ -
+ table: dtb_member
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_news
+ columns:
+ - creator_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
+ -
+ table: dtb_plugin_hookpoint
+ columns:
+ - plugin_id
+ parentTable: dtb_plugin
+ parentColumns:
+ - plugin_id
+ -
+ table: dtb_tax_rule
+ columns:
+ - country_id
+ parentTable: mtb_country
+ parentColumns:
+ - id
+ -
+ table: dtb_tax_rule
+ columns:
+ - pref_id
+ parentTable: mtb_pref
+ parentColumns:
+ - id
+ -
+ table: dtb_tax_rule
+ columns:
+ - product_id
+ parentTable: dtb_products
+ parentColumns:
+ - product_id
+ -
+ table: dtb_tax_rule
+ columns:
+ - product_class_id
+ parentTable: dtb_products_class
+ parentColumns:
+ - product_class_id
+ -
+ table: dtb_tax_rule
+ columns:
+ - calc_rule
+ parentTable: mtb_taxrule
+ parentColumns:
+ - id
+ -
+ table: dtb_tax_rule
+ columns:
+ - member_id
+ parentTable: dtb_member
+ parentColumns:
+ - member_id
diff --git a/docs/ER-D_Logical.pdf b/docs/ER-D_Logical.pdf
deleted file mode 100644
index 2ea3a91906..0000000000
Binary files a/docs/ER-D_Logical.pdf and /dev/null differ
diff --git a/docs/ER-D_Physical.pdf b/docs/ER-D_Physical.pdf
deleted file mode 100644
index a09ad31a4c..0000000000
Binary files a/docs/ER-D_Physical.pdf and /dev/null differ
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 0000000000..86a537b76c
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,31 @@
+# 開発ドキュメント
+
+## テーブル定義書
+
+[k1LoW/tbls](https://github.com/k1LoW/tbls) を使用して、テーブル定義書の自動出力に対応しています。
+
+[database-schema/README.md](database-schema/README.md) をご確認ください。
+
+### テーブル定義書の更新方法
+
+#### 前提条件
+
+[PostgreSQL を使用して、docker-compose で EC-CUBE をインストールしてください](../README.md#postgresql-%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88)
+
+*MySQL を使用したい場合は、 [.tbls.yml の DSN](.tbls.yml) を適宜修正してください*
+
+#### テーブル定義書を更新する
+
+テーブル構成が変更された場合は、以下のコマンドで更新してください
+
+``` shell
+docker run --rm -v $PWD:/work ghcr.io/k1low/tbls doc -c /work/docs/.tbls.yml --force
+```
+
+#### テーブル定義書との差分を表示する
+
+受託案件などで、 EC-CUBE デフォルトのテーブル構成との差分を見たい場合は以下のコマンドを実行してください
+
+``` shell
+docker run --rm -v $PWD:/work ghcr.io/k1low/tbls diff -c /work/docs/.tbls.yml
+```
diff --git a/docs/database-schema/README.md b/docs/database-schema/README.md
new file mode 100644
index 0000000000..a0bd84697d
--- /dev/null
+++ b/docs/database-schema/README.md
@@ -0,0 +1,113 @@
+# EC-CUBE 2.17.x table definition
+
+## Description
+
+EC-CUBE 2.17.x テーブル定義書
+
+## Tables
+
+| Name | Columns | Comment | Type |
+| ---- | ------- | ------- | ---- |
+| [public.dtb_module_update_logs](public.dtb_module_update_logs.md) | 8 | モジュール更新ログ情報 | BASE TABLE |
+| [public.dtb_ownersstore_settings](public.dtb_ownersstore_settings.md) | 1 | オーナーズストア設定 | BASE TABLE |
+| [public.dtb_kiyaku](public.dtb_kiyaku.md) | 8 | 規約情報 | BASE TABLE |
+| [public.dtb_holiday](public.dtb_holiday.md) | 9 | 休日情報 | BASE TABLE |
+| [public.mtb_zip](public.mtb_zip.md) | 5 | 郵便番号 | BASE TABLE |
+| [public.dtb_update](public.dtb_update.md) | 14 | モジュール更新情報 | BASE TABLE |
+| [public.dtb_baseinfo](public.dtb_baseinfo.md) | 66 | 店舗基本情報 | BASE TABLE |
+| [public.dtb_deliv](public.dtb_deliv.md) | 12 | 配送業者情報 | BASE TABLE |
+| [public.dtb_payment_options](public.dtb_payment_options.md) | 3 | 支払選択肢情報 | BASE TABLE |
+| [public.dtb_delivtime](public.dtb_delivtime.md) | 3 | 配送時間情報 | BASE TABLE |
+| [public.dtb_delivfee](public.dtb_delivfee.md) | 4 | 送料情報 | BASE TABLE |
+| [public.dtb_payment](public.dtb_payment.md) | 29 | 支払方法情報 | BASE TABLE |
+| [public.dtb_mailtemplate](public.dtb_mailtemplate.md) | 8 | メールテンプレート情報 | BASE TABLE |
+| [public.dtb_mailmaga_template](public.dtb_mailmaga_template.md) | 8 | メルマガテンプレート情報 | BASE TABLE |
+| [public.dtb_send_history](public.dtb_send_history.md) | 13 | メール送信履歴 | BASE TABLE |
+| [public.dtb_send_customer](public.dtb_send_customer.md) | 5 | 顧客メール送信履歴 | BASE TABLE |
+| [public.dtb_products](public.dtb_products.md) | 45 | 商品情報 | BASE TABLE |
+| [public.dtb_products_class](public.dtb_products_class.md) | 19 | 商品規格情報 | BASE TABLE |
+| [public.dtb_class](public.dtb_class.md) | 7 | 規格情報 | BASE TABLE |
+| [public.dtb_classcategory](public.dtb_classcategory.md) | 8 | 規格分類情報 | BASE TABLE |
+| [public.dtb_category](public.dtb_category.md) | 9 | カテゴリ情報 | BASE TABLE |
+| [public.dtb_product_categories](public.dtb_product_categories.md) | 3 | 商品カテゴリ関連 | BASE TABLE |
+| [public.dtb_product_status](public.dtb_product_status.md) | 6 | 商品ステータス情報 | BASE TABLE |
+| [public.dtb_recommend_products](public.dtb_recommend_products.md) | 8 | 関連商品情報 | BASE TABLE |
+| [public.dtb_review](public.dtb_review.md) | 14 | レビュー情報 | BASE TABLE |
+| [public.dtb_customer_favorite_products](public.dtb_customer_favorite_products.md) | 4 | お気に入り商品情報 | BASE TABLE |
+| [public.dtb_category_count](public.dtb_category_count.md) | 3 | カテゴリ商品数情報 | BASE TABLE |
+| [public.dtb_category_total_count](public.dtb_category_total_count.md) | 3 | カテゴリ商品合計数情報 | BASE TABLE |
+| [public.dtb_news](public.dtb_news.md) | 12 | 新着情報 | BASE TABLE |
+| [public.dtb_best_products](public.dtb_best_products.md) | 10 | おすすめ商品情報 | BASE TABLE |
+| [public.dtb_mail_history](public.dtb_mail_history.md) | 7 | 受注メール送信履歴 | BASE TABLE |
+| [public.dtb_customer](public.dtb_customer.md) | 41 | 顧客情報 | BASE TABLE |
+| [public.dtb_order](public.dtb_order.md) | 57 | 受注情報 | BASE TABLE |
+| [public.dtb_order_temp](public.dtb_order_temp.md) | 59 | 受注一時情報 | BASE TABLE |
+| [public.dtb_shipping](public.dtb_shipping.md) | 28 | 配送先情報 | BASE TABLE |
+| [public.dtb_shipment_item](public.dtb_shipment_item.md) | 9 | 配送商品情報 | BASE TABLE |
+| [public.dtb_other_deliv](public.dtb_other_deliv.md) | 20 | その他の配送先情報 | BASE TABLE |
+| [public.dtb_order_detail](public.dtb_order_detail.md) | 13 | 受注詳細情報 | BASE TABLE |
+| [public.dtb_member](public.dtb_member.md) | 14 | 管理画面メンバー情報 | BASE TABLE |
+| [public.dtb_pagelayout](public.dtb_pagelayout.md) | 15 | ページレイアウト情報 | BASE TABLE |
+| [public.dtb_bloc](public.dtb_bloc.md) | 10 | ブロック情報 | BASE TABLE |
+| [public.dtb_blocposition](public.dtb_blocposition.md) | 6 | ブロック配置情報 | BASE TABLE |
+| [public.dtb_csv](public.dtb_csv.md) | 12 | CSV情報 | BASE TABLE |
+| [public.dtb_csv_sql](public.dtb_csv_sql.md) | 5 | CSV詳細設定SQL情報 | BASE TABLE |
+| [public.dtb_templates](public.dtb_templates.md) | 5 | テンプレート情報 | BASE TABLE |
+| [public.dtb_maker](public.dtb_maker.md) | 7 | メーカー | BASE TABLE |
+| [public.dtb_maker_count](public.dtb_maker_count.md) | 3 | メーカーカウント | BASE TABLE |
+| [public.mtb_pref](public.mtb_pref.md) | 3 | 都道府県マスタ | BASE TABLE |
+| [public.mtb_permission](public.mtb_permission.md) | 3 | 管理画面アクセス権限 | BASE TABLE |
+| [public.mtb_disable_logout](public.mtb_disable_logout.md) | 3 | ログアウト無効ページ | BASE TABLE |
+| [public.mtb_authority](public.mtb_authority.md) | 3 | 管理者マスタ | BASE TABLE |
+| [public.mtb_auth_excludes](public.mtb_auth_excludes.md) | 3 | 管理画面認証除外 | BASE TABLE |
+| [public.mtb_work](public.mtb_work.md) | 3 | 稼動状態 | BASE TABLE |
+| [public.mtb_disp](public.mtb_disp.md) | 3 | 公開フラグ | BASE TABLE |
+| [public.mtb_status](public.mtb_status.md) | 3 | 商品ステータス | BASE TABLE |
+| [public.mtb_status_image](public.mtb_status_image.md) | 3 | ステータス画像 | BASE TABLE |
+| [public.mtb_allowed_tag](public.mtb_allowed_tag.md) | 3 | 許可タグ | BASE TABLE |
+| [public.mtb_page_max](public.mtb_page_max.md) | 3 | ページ最大表示数 | BASE TABLE |
+| [public.mtb_magazine_type](public.mtb_magazine_type.md) | 3 | メルマガ種別 | BASE TABLE |
+| [public.mtb_mail_magazine_type](public.mtb_mail_magazine_type.md) | 3 | メールマガジン種別 | BASE TABLE |
+| [public.mtb_recommend](public.mtb_recommend.md) | 3 | おすすめレベル | BASE TABLE |
+| [public.mtb_taxrule](public.mtb_taxrule.md) | 3 | 課税規則マスタ | BASE TABLE |
+| [public.mtb_mail_template](public.mtb_mail_template.md) | 3 | メールテンプレート | BASE TABLE |
+| [public.mtb_mail_tpl_path](public.mtb_mail_tpl_path.md) | 3 | メールテンプレートパス | BASE TABLE |
+| [public.mtb_job](public.mtb_job.md) | 3 | 職業マスタ | BASE TABLE |
+| [public.mtb_reminder](public.mtb_reminder.md) | 3 | パスワード質問マスタ | BASE TABLE |
+| [public.mtb_sex](public.mtb_sex.md) | 3 | 性別マスタ | BASE TABLE |
+| [public.mtb_customer_status](public.mtb_customer_status.md) | 3 | 顧客ステータス | BASE TABLE |
+| [public.mtb_mail_type](public.mtb_mail_type.md) | 3 | メール種別 | BASE TABLE |
+| [public.mtb_order_status](public.mtb_order_status.md) | 3 | 受注状態 | BASE TABLE |
+| [public.mtb_product_status_color](public.mtb_product_status_color.md) | 3 | 商品ステータス色 | BASE TABLE |
+| [public.mtb_customer_order_status](public.mtb_customer_order_status.md) | 3 | 顧客表示用受注ステータス | BASE TABLE |
+| [public.mtb_order_status_color](public.mtb_order_status_color.md) | 3 | 受注ステータス色 | BASE TABLE |
+| [public.mtb_wday](public.mtb_wday.md) | 3 | 曜日 | BASE TABLE |
+| [public.mtb_delivery_date](public.mtb_delivery_date.md) | 3 | 商品発送日 | BASE TABLE |
+| [public.mtb_product_list_max](public.mtb_product_list_max.md) | 3 | 商品一覧最大表示数 | BASE TABLE |
+| [public.mtb_db](public.mtb_db.md) | 3 | データベース種別 | BASE TABLE |
+| [public.mtb_target](public.mtb_target.md) | 3 | ブロックターゲット | BASE TABLE |
+| [public.mtb_review_deny_url](public.mtb_review_deny_url.md) | 3 | レビュー拒否URL | BASE TABLE |
+| [public.mtb_mobile_domain](public.mtb_mobile_domain.md) | 3 | モバイルドメイン名 | BASE TABLE |
+| [public.mtb_ownersstore_err](public.mtb_ownersstore_err.md) | 3 | オーナーズストアエラー種別 | BASE TABLE |
+| [public.mtb_constants](public.mtb_constants.md) | 4 | 定数マスタ | BASE TABLE |
+| [public.mtb_product_type](public.mtb_product_type.md) | 3 | 商品種別マスタ | BASE TABLE |
+| [public.mtb_device_type](public.mtb_device_type.md) | 3 | 端末種別 | BASE TABLE |
+| [public.mtb_country](public.mtb_country.md) | 3 | 【2.13】国マスタ | BASE TABLE |
+| [public.dtb_mobile_ext_session_id](public.dtb_mobile_ext_session_id.md) | 5 | モバイルセッション情報 | BASE TABLE |
+| [public.dtb_module](public.dtb_module.md) | 8 | モジュール情報 | BASE TABLE |
+| [public.dtb_session](public.dtb_session.md) | 4 | セッション情報 | BASE TABLE |
+| [public.dtb_bkup](public.dtb_bkup.md) | 3 | バックアップ | BASE TABLE |
+| [public.dtb_plugin](public.dtb_plugin.md) | 18 | プラグイン情報 | BASE TABLE |
+| [public.dtb_plugin_hookpoint](public.dtb_plugin_hookpoint.md) | 7 | プラグインフックポイント | BASE TABLE |
+| [public.dtb_index_list](public.dtb_index_list.md) | 4 | インデックス一覧 | BASE TABLE |
+| [public.dtb_api_config](public.dtb_api_config.md) | 10 | API設定 | BASE TABLE |
+| [public.dtb_api_account](public.dtb_api_account.md) | 7 | APIアカウント | BASE TABLE |
+| [public.dtb_tax_rule](public.dtb_tax_rule.md) | 13 | 【2.13】消費税ルール | BASE TABLE |
+
+## Relations
+
+![er](schema.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_api_account.md b/docs/database-schema/public.dtb_api_account.md
new file mode 100644
index 0000000000..1a39088c37
--- /dev/null
+++ b/docs/database-schema/public.dtb_api_account.md
@@ -0,0 +1,37 @@
+# public.dtb_api_account
+
+## Description
+
+APIアカウント
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| api_account_id | integer | | false | | | APIアカウントID |
+| api_access_key | text | | false | | | アクセスキー |
+| api_secret_key | text | | false | | | シークレットキー |
+| enable | smallint | 0 | false | | | 有効 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_api_account_pkey | PRIMARY KEY | PRIMARY KEY (api_account_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_api_account_pkey | CREATE UNIQUE INDEX dtb_api_account_pkey ON public.dtb_api_account USING btree (api_account_id) |
+
+## Relations
+
+![er](public.dtb_api_account.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_api_account.svg b/docs/database-schema/public.dtb_api_account.svg
new file mode 100644
index 0000000000..b37aaa2aa8
--- /dev/null
+++ b/docs/database-schema/public.dtb_api_account.svg
@@ -0,0 +1,52 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_api_config.md b/docs/database-schema/public.dtb_api_config.md
new file mode 100644
index 0000000000..a948885a38
--- /dev/null
+++ b/docs/database-schema/public.dtb_api_config.md
@@ -0,0 +1,40 @@
+# public.dtb_api_config
+
+## Description
+
+API設定
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| api_config_id | integer | | false | | | API設定ID |
+| operation_name | text | | false | | | オペレーション名 |
+| operation_description | text | | true | | | 説明 |
+| auth_types | text | | false | | | 認証タイプ |
+| enable | smallint | 0 | false | | | 有効フラグ |
+| is_log | smallint | 0 | false | | | ログ出力フラグ |
+| sub_data | text | | true | | | 追加の設定情報 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_api_config_pkey | PRIMARY KEY | PRIMARY KEY (api_config_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_api_config_pkey | CREATE UNIQUE INDEX dtb_api_config_pkey ON public.dtb_api_config USING btree (api_config_id) |
+
+## Relations
+
+![er](public.dtb_api_config.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_api_config.svg b/docs/database-schema/public.dtb_api_config.svg
new file mode 100644
index 0000000000..f4eaee294f
--- /dev/null
+++ b/docs/database-schema/public.dtb_api_config.svg
@@ -0,0 +1,64 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_baseinfo.md b/docs/database-schema/public.dtb_baseinfo.md
new file mode 100644
index 0000000000..b1d3823575
--- /dev/null
+++ b/docs/database-schema/public.dtb_baseinfo.md
@@ -0,0 +1,96 @@
+# public.dtb_baseinfo
+
+## Description
+
+店舗基本情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | integer | | false | | | 店舗基本情報ID |
+| company_name | text | | true | | | 会社名 |
+| company_kana | text | | true | | | 会社名(カナ) |
+| zip01 | text | | true | | | 郵便番号(4桁) |
+| zip02 | text | | true | | | 郵便番号(3桁) |
+| zipcode | text | | true | | | 【2.13】郵便番号(海外対応) |
+| country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】国ID |
+| pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県 |
+| addr01 | text | | true | | | 住所1 |
+| addr02 | text | | true | | | 住所2 |
+| tel01 | text | | true | | | 電話番号(市外局番) |
+| tel02 | text | | true | | | 電話番号(市内局番) |
+| tel03 | text | | true | | | 電話番号(局番) |
+| fax01 | text | | true | | | FAX番号(市外局番) |
+| fax02 | text | | true | | | FAX番号(市内局番) |
+| fax03 | text | | true | | | FAX番号(局番) |
+| business_hour | text | | true | | | 営業時間 |
+| law_company | text | | true | | | 販売業者(特定商取引) |
+| law_manager | text | | true | | | 販売責任者(特定商取引) |
+| law_zip01 | text | | true | | | 郵便番号4桁(特定商取引) |
+| law_zip02 | text | | true | | | 郵便番号3桁(特定商取引) |
+| law_zipcode | text | | true | | | 【2.13】郵便番号(海外対応)(特定商取引) |
+| law_country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】国ID(特定商取引) |
+| law_pref | smallint | | true | | | 都道府県(特定商取引) |
+| law_addr01 | text | | true | | | 住所1(特定商取引) |
+| law_addr02 | text | | true | | | 住所2(特定商取引) |
+| law_tel01 | text | | true | | | 電話番号(市外局番)(特定商取引) |
+| law_tel02 | text | | true | | | 電話番号(市内局番)(特定商取引) |
+| law_tel03 | text | | true | | | 電話番号(局番)(特定商取引) |
+| law_fax01 | text | | true | | | FAX番号(市外局番)(特定商取引) |
+| law_fax02 | text | | true | | | FAX番号(市内局番)(特定商取引) |
+| law_fax03 | text | | true | | | FAX番号(局番)(特定商取引) |
+| law_email | text | | true | | | メールアドレス(特定商取引) |
+| law_url | text | | true | | | URL(特定商取引) |
+| law_term01 | text | | true | | | 商品代金以外の必要料金(特定商取引) |
+| law_term02 | text | | true | | | 注文方法(特定商取引) |
+| law_term03 | text | | true | | | 支払方法(特定商取引) |
+| law_term04 | text | | true | | | 支払期限(特定商取引) |
+| law_term05 | text | | true | | | 引き渡し時期(特定商取引) |
+| law_term06 | text | | true | | | 返品・交換について(特定商取引) |
+| law_term07 | text | | true | | | 予備1(特定商取引) |
+| law_term08 | text | | true | | | 予備2(特定商取引) |
+| law_term09 | text | | true | | | 予備3(特定商取引) |
+| law_term10 | text | | true | | | 予備4(特定商取引) |
+| email01 | text | | true | | | 受注情報受付メールアドレス |
+| email02 | text | | true | | | 問い合わせ受付メールアドレス |
+| email03 | text | | true | | | 送信エラー受付メールアドレス |
+| email04 | text | | true | | | メール送信元メールアドレス |
+| free_rule | numeric | | true | | | 送料・手数料無料条件(円以上) |
+| shop_name | text | | true | | | 店舗名 |
+| shop_kana | text | | true | | | 店舗名(カナ) |
+| shop_name_eng | text | | true | | | 店舗名(英語) |
+| point_rate | numeric | 0 | false | | | ポイント付与率 |
+| welcome_point | numeric | 0 | false | | | 会員登録時付与ポイント |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| top_tpl | text | | true | | | トップページテンプレート |
+| product_tpl | text | | true | | | 商品一覧テンプレート |
+| detail_tpl | text | | true | | | 商品詳細テンプレート |
+| mypage_tpl | text | | true | | | Myページテンプレート |
+| good_traded | text | | true | | | 取扱商品 |
+| message | text | | true | | | メッセージ |
+| regular_holiday_ids | text | | true | | | 定休日の曜日 |
+| latitude | text | | true | | | 緯度 |
+| longitude | text | | true | | | 経度 |
+| downloadable_days | numeric | 30 | true | | | ダウンロード可能日数 |
+| downloadable_days_unlimited | smallint | | true | | | ダウンロード可能日数無制限フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_baseinfo_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_baseinfo_pkey | CREATE UNIQUE INDEX dtb_baseinfo_pkey ON public.dtb_baseinfo USING btree (id) |
+
+## Relations
+
+![er](public.dtb_baseinfo.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_baseinfo.svg b/docs/database-schema/public.dtb_baseinfo.svg
new file mode 100644
index 0000000000..37ffcc10cc
--- /dev/null
+++ b/docs/database-schema/public.dtb_baseinfo.svg
@@ -0,0 +1,353 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_best_products.md b/docs/database-schema/public.dtb_best_products.md
new file mode 100644
index 0000000000..d60ea3abee
--- /dev/null
+++ b/docs/database-schema/public.dtb_best_products.md
@@ -0,0 +1,40 @@
+# public.dtb_best_products
+
+## Description
+
+おすすめ商品情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| best_id | integer | | false | | | ベスト商品ID |
+| category_id | integer | | false | | [public.dtb_category](public.dtb_category.md) | カテゴリID |
+| rank | integer | 0 | false | | | 表示順 |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| title | text | | true | | | タイトル |
+| comment | text | | true | | | コメント |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_best_products_pkey | PRIMARY KEY | PRIMARY KEY (best_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_best_products_pkey | CREATE UNIQUE INDEX dtb_best_products_pkey ON public.dtb_best_products USING btree (best_id) |
+
+## Relations
+
+![er](public.dtb_best_products.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_best_products.svg b/docs/database-schema/public.dtb_best_products.svg
new file mode 100644
index 0000000000..bcd0ffef24
--- /dev/null
+++ b/docs/database-schema/public.dtb_best_products.svg
@@ -0,0 +1,387 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_bkup.md b/docs/database-schema/public.dtb_bkup.md
new file mode 100644
index 0000000000..369cec3966
--- /dev/null
+++ b/docs/database-schema/public.dtb_bkup.md
@@ -0,0 +1,33 @@
+# public.dtb_bkup
+
+## Description
+
+バックアップ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| bkup_name | text | | false | | | バックアップ名 |
+| bkup_memo | text | | true | | | バックアップメモ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_bkup_pkey | PRIMARY KEY | PRIMARY KEY (bkup_name) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_bkup_pkey | CREATE UNIQUE INDEX dtb_bkup_pkey ON public.dtb_bkup USING btree (bkup_name) |
+
+## Relations
+
+![er](public.dtb_bkup.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_bkup.svg b/docs/database-schema/public.dtb_bkup.svg
new file mode 100644
index 0000000000..3dfb45d0a4
--- /dev/null
+++ b/docs/database-schema/public.dtb_bkup.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_bloc.md b/docs/database-schema/public.dtb_bloc.md
new file mode 100644
index 0000000000..3874c4d239
--- /dev/null
+++ b/docs/database-schema/public.dtb_bloc.md
@@ -0,0 +1,42 @@
+# public.dtb_bloc
+
+## Description
+
+ブロック情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| device_type_id | integer | | false | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| bloc_id | integer | | false | [public.dtb_blocposition](public.dtb_blocposition.md) | | ブロックID |
+| bloc_name | text | | true | | | ブロック名 |
+| tpl_path | text | | true | | | Smartyテンプレートパス |
+| filename | text | | false | | | ファイル名 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| php_path | text | | true | | | PHPパス |
+| deletable_flg | smallint | 1 | false | | | 削除可能フラグ |
+| plugin_id | integer | | true | | [public.dtb_plugin](public.dtb_plugin.md) | プラグインID |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_bloc_pkey | PRIMARY KEY | PRIMARY KEY (device_type_id, bloc_id) |
+| dtb_bloc_device_type_id_filename_key | UNIQUE | UNIQUE (device_type_id, filename) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_bloc_pkey | CREATE UNIQUE INDEX dtb_bloc_pkey ON public.dtb_bloc USING btree (device_type_id, bloc_id) |
+| dtb_bloc_device_type_id_filename_key | CREATE UNIQUE INDEX dtb_bloc_device_type_id_filename_key ON public.dtb_bloc USING btree (device_type_id, filename) |
+
+## Relations
+
+![er](public.dtb_bloc.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_bloc.svg b/docs/database-schema/public.dtb_bloc.svg
new file mode 100644
index 0000000000..d33b76e77c
--- /dev/null
+++ b/docs/database-schema/public.dtb_bloc.svg
@@ -0,0 +1,223 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_blocposition.md b/docs/database-schema/public.dtb_blocposition.md
new file mode 100644
index 0000000000..ebbf102401
--- /dev/null
+++ b/docs/database-schema/public.dtb_blocposition.md
@@ -0,0 +1,36 @@
+# public.dtb_blocposition
+
+## Description
+
+ブロック配置情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| device_type_id | integer | | false | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| page_id | integer | | false | | [public.dtb_pagelayout](public.dtb_pagelayout.md) | ページID |
+| target_id | integer | | false | | [public.mtb_target](public.mtb_target.md) | 配置ID |
+| bloc_id | integer | | false | | [public.dtb_bloc](public.dtb_bloc.md) | ブロックID |
+| bloc_row | integer | | true | | | ブロック配置順序 |
+| anywhere | smallint | 0 | false | | | 全ページに配置するフラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_blocposition_pkey | PRIMARY KEY | PRIMARY KEY (device_type_id, page_id, target_id, bloc_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_blocposition_pkey | CREATE UNIQUE INDEX dtb_blocposition_pkey ON public.dtb_blocposition USING btree (device_type_id, page_id, target_id, bloc_id) |
+
+## Relations
+
+![er](public.dtb_blocposition.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_blocposition.svg b/docs/database-schema/public.dtb_blocposition.svg
new file mode 100644
index 0000000000..db05488a8a
--- /dev/null
+++ b/docs/database-schema/public.dtb_blocposition.svg
@@ -0,0 +1,240 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_category.md b/docs/database-schema/public.dtb_category.md
new file mode 100644
index 0000000000..13bd0243d4
--- /dev/null
+++ b/docs/database-schema/public.dtb_category.md
@@ -0,0 +1,39 @@
+# public.dtb_category
+
+## Description
+
+カテゴリ情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| category_id | integer | | false | [public.dtb_product_categories](public.dtb_product_categories.md) [public.dtb_category](public.dtb_category.md) [public.dtb_category_count](public.dtb_category_count.md) [public.dtb_category_total_count](public.dtb_category_total_count.md) [public.dtb_best_products](public.dtb_best_products.md) | | カテゴリID |
+| category_name | text | | true | | | カテゴリ名 |
+| parent_category_id | integer | 0 | false | | [public.dtb_category](public.dtb_category.md) | 親カテゴリID |
+| level | integer | | false | | | 階層 |
+| rank | integer | | true | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_category_pkey | PRIMARY KEY | PRIMARY KEY (category_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_category_pkey | CREATE UNIQUE INDEX dtb_category_pkey ON public.dtb_category USING btree (category_id) |
+
+## Relations
+
+![er](public.dtb_category.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_category.svg b/docs/database-schema/public.dtb_category.svg
new file mode 100644
index 0000000000..16271d22d9
--- /dev/null
+++ b/docs/database-schema/public.dtb_category.svg
@@ -0,0 +1,284 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_category_count.md b/docs/database-schema/public.dtb_category_count.md
new file mode 100644
index 0000000000..193a168800
--- /dev/null
+++ b/docs/database-schema/public.dtb_category_count.md
@@ -0,0 +1,33 @@
+# public.dtb_category_count
+
+## Description
+
+カテゴリ商品数情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| category_id | integer | | false | | [public.dtb_category](public.dtb_category.md) | カテゴリID |
+| product_count | integer | | false | | | 商品数 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_category_count_pkey | PRIMARY KEY | PRIMARY KEY (category_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_category_count_pkey | CREATE UNIQUE INDEX dtb_category_count_pkey ON public.dtb_category_count USING btree (category_id) |
+
+## Relations
+
+![er](public.dtb_category_count.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_category_count.svg b/docs/database-schema/public.dtb_category_count.svg
new file mode 100644
index 0000000000..a7d14bbbf3
--- /dev/null
+++ b/docs/database-schema/public.dtb_category_count.svg
@@ -0,0 +1,89 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_category_total_count.md b/docs/database-schema/public.dtb_category_total_count.md
new file mode 100644
index 0000000000..ce3c68417e
--- /dev/null
+++ b/docs/database-schema/public.dtb_category_total_count.md
@@ -0,0 +1,33 @@
+# public.dtb_category_total_count
+
+## Description
+
+カテゴリ商品合計数情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| category_id | integer | | false | | [public.dtb_category](public.dtb_category.md) | カテゴリID |
+| product_count | integer | | true | | | 商品合計数 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_category_total_count_pkey | PRIMARY KEY | PRIMARY KEY (category_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_category_total_count_pkey | CREATE UNIQUE INDEX dtb_category_total_count_pkey ON public.dtb_category_total_count USING btree (category_id) |
+
+## Relations
+
+![er](public.dtb_category_total_count.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_category_total_count.svg b/docs/database-schema/public.dtb_category_total_count.svg
new file mode 100644
index 0000000000..db85eae38b
--- /dev/null
+++ b/docs/database-schema/public.dtb_category_total_count.svg
@@ -0,0 +1,89 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_class.md b/docs/database-schema/public.dtb_class.md
new file mode 100644
index 0000000000..34cbae58c7
--- /dev/null
+++ b/docs/database-schema/public.dtb_class.md
@@ -0,0 +1,37 @@
+# public.dtb_class
+
+## Description
+
+規格情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| class_id | integer | | false | [public.dtb_classcategory](public.dtb_classcategory.md) | | 規格ID |
+| name | text | | true | | | 規格名 |
+| rank | integer | | true | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_class_pkey | PRIMARY KEY | PRIMARY KEY (class_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_class_pkey | CREATE UNIQUE INDEX dtb_class_pkey ON public.dtb_class USING btree (class_id) |
+
+## Relations
+
+![er](public.dtb_class.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_class.svg b/docs/database-schema/public.dtb_class.svg
new file mode 100644
index 0000000000..a4d82c818c
--- /dev/null
+++ b/docs/database-schema/public.dtb_class.svg
@@ -0,0 +1,174 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_classcategory.md b/docs/database-schema/public.dtb_classcategory.md
new file mode 100644
index 0000000000..714a8134f6
--- /dev/null
+++ b/docs/database-schema/public.dtb_classcategory.md
@@ -0,0 +1,38 @@
+# public.dtb_classcategory
+
+## Description
+
+規格分類情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| classcategory_id | integer | | false | [public.dtb_products_class](public.dtb_products_class.md) | | 規格分類情報ID |
+| name | text | | true | | | 規格分類名 |
+| class_id | integer | | false | | [public.dtb_class](public.dtb_class.md) | 規格ID |
+| rank | integer | | true | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_classcategory_pkey | PRIMARY KEY | PRIMARY KEY (classcategory_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_classcategory_pkey | CREATE UNIQUE INDEX dtb_classcategory_pkey ON public.dtb_classcategory USING btree (classcategory_id) |
+
+## Relations
+
+![er](public.dtb_classcategory.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_classcategory.svg b/docs/database-schema/public.dtb_classcategory.svg
new file mode 100644
index 0000000000..b8e3a44f9c
--- /dev/null
+++ b/docs/database-schema/public.dtb_classcategory.svg
@@ -0,0 +1,274 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_csv.md b/docs/database-schema/public.dtb_csv.md
new file mode 100644
index 0000000000..5bad943db5
--- /dev/null
+++ b/docs/database-schema/public.dtb_csv.md
@@ -0,0 +1,42 @@
+# public.dtb_csv
+
+## Description
+
+CSV情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| no | integer | | false | | | 番号 |
+| csv_id | integer | | false | | | CSVマスタ種別ID |
+| col | text | | true | | | カラム名 |
+| disp_name | text | | true | | | 表示名 |
+| rank | integer | | true | | | 表示順 |
+| rw_flg | smallint | 1 | true | | | 読み書きフラグ |
+| status | smallint | 1 | false | | | 状態 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| mb_convert_kana_option | text | | true | | | mb_convert_kana オプション |
+| size_const_type | text | | true | | | 文字長タイプ |
+| error_check_types | text | | true | | | エラーチェックタイプ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_csv_pkey | PRIMARY KEY | PRIMARY KEY (no) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_csv_pkey | CREATE UNIQUE INDEX dtb_csv_pkey ON public.dtb_csv USING btree (no) |
+
+## Relations
+
+![er](public.dtb_csv.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_csv.svg b/docs/database-schema/public.dtb_csv.svg
new file mode 100644
index 0000000000..385b9a2e3d
--- /dev/null
+++ b/docs/database-schema/public.dtb_csv.svg
@@ -0,0 +1,72 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_csv_sql.md b/docs/database-schema/public.dtb_csv_sql.md
new file mode 100644
index 0000000000..5f28304a38
--- /dev/null
+++ b/docs/database-schema/public.dtb_csv_sql.md
@@ -0,0 +1,35 @@
+# public.dtb_csv_sql
+
+## Description
+
+CSV詳細設定SQL情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| sql_id | integer | | false | | | SQLID |
+| sql_name | text | | false | | | SQL名 |
+| csv_sql | text | | true | | | SQL詳細 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_csv_sql_pkey | PRIMARY KEY | PRIMARY KEY (sql_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_csv_sql_pkey | CREATE UNIQUE INDEX dtb_csv_sql_pkey ON public.dtb_csv_sql USING btree (sql_id) |
+
+## Relations
+
+![er](public.dtb_csv_sql.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_csv_sql.svg b/docs/database-schema/public.dtb_csv_sql.svg
new file mode 100644
index 0000000000..fcf0c4fd2a
--- /dev/null
+++ b/docs/database-schema/public.dtb_csv_sql.svg
@@ -0,0 +1,44 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_customer.md b/docs/database-schema/public.dtb_customer.md
new file mode 100644
index 0000000000..af514544ae
--- /dev/null
+++ b/docs/database-schema/public.dtb_customer.md
@@ -0,0 +1,74 @@
+# public.dtb_customer
+
+## Description
+
+顧客情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| customer_id | integer | | false | [public.dtb_review](public.dtb_review.md) [public.dtb_customer_favorite_products](public.dtb_customer_favorite_products.md) [public.dtb_other_deliv](public.dtb_other_deliv.md) [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_send_customer](public.dtb_send_customer.md) | | 顧客ID |
+| name01 | text | | false | | | 姓 |
+| name02 | text | | false | | | 名 |
+| kana01 | text | | true | | | 姓(カナ) |
+| kana02 | text | | true | | | 名(カナ) |
+| company_name | text | | true | | | 【2.13】国名 |
+| zip01 | text | | true | | | 郵便番号(4桁) |
+| zip02 | text | | true | | | 郵便番号(3桁) |
+| zipcode | text | | true | | | 【2.13】郵便番号(海外対応) |
+| country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】国ID |
+| pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県 |
+| addr01 | text | | true | | | 市区町村 |
+| addr02 | text | | true | | | 番地等 |
+| email | text | | false | | | メールアドレス |
+| email_mobile | text | | true | | | 携帯メールアドレス |
+| tel01 | text | | true | | | 電話(市外局番) |
+| tel02 | text | | true | | | 電話(市内局番) |
+| tel03 | text | | true | | | 電話(局番) |
+| fax01 | text | | true | | | FAX(市外局番) |
+| fax02 | text | | true | | | FAX(市内局番) |
+| fax03 | text | | true | | | FAX(局番) |
+| sex | smallint | | true | | [public.mtb_sex](public.mtb_sex.md) | 性別 |
+| job | smallint | | true | | [public.mtb_job](public.mtb_job.md) | 職業 |
+| birth | timestamp without time zone | | true | | | 生年月日 |
+| password | text | | true | | | パスワード |
+| reminder | smallint | | true | | [public.mtb_reminder](public.mtb_reminder.md) | パスワードの質問 |
+| reminder_answer | text | | true | | | パスワードの質問の答え |
+| salt | text | | true | | | 暗号化付与文字列 |
+| secret_key | text | | false | | | 暗号化キー |
+| first_buy_date | timestamp without time zone | | true | | | 初回購入日時 |
+| last_buy_date | timestamp without time zone | | true | | | 最終購入日時 |
+| buy_times | numeric | 0 | true | | | 購入回数 |
+| buy_total | numeric | 0 | true | | | 購入累計金額 |
+| point | numeric | 0 | false | | | 保持ポイント |
+| note | text | | true | | | 備考 |
+| status | smallint | 1 | false | | [public.mtb_customer_status](public.mtb_customer_status.md) | 状態 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| mobile_phone_id | text | | true | | | 携帯端末ID |
+| mailmaga_flg | smallint | | true | | [public.mtb_mail_magazine_type](public.mtb_mail_magazine_type.md) | メールマガジン種別フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_customer_pkey | PRIMARY KEY | PRIMARY KEY (customer_id) |
+| dtb_customer_secret_key_key | UNIQUE | UNIQUE (secret_key) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_customer_pkey | CREATE UNIQUE INDEX dtb_customer_pkey ON public.dtb_customer USING btree (customer_id) |
+| dtb_customer_secret_key_key | CREATE UNIQUE INDEX dtb_customer_secret_key_key ON public.dtb_customer USING btree (secret_key) |
+| dtb_customer_mobile_phone_id_key | CREATE INDEX dtb_customer_mobile_phone_id_key ON public.dtb_customer USING btree (mobile_phone_id) |
+
+## Relations
+
+![er](public.dtb_customer.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_customer.svg b/docs/database-schema/public.dtb_customer.svg
new file mode 100644
index 0000000000..ba2e7283a0
--- /dev/null
+++ b/docs/database-schema/public.dtb_customer.svg
@@ -0,0 +1,1129 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_customer_favorite_products.md b/docs/database-schema/public.dtb_customer_favorite_products.md
new file mode 100644
index 0000000000..c70c413237
--- /dev/null
+++ b/docs/database-schema/public.dtb_customer_favorite_products.md
@@ -0,0 +1,34 @@
+# public.dtb_customer_favorite_products
+
+## Description
+
+お気に入り商品情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| customer_id | integer | | false | | [public.dtb_customer](public.dtb_customer.md) | 顧客ID |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_customer_favorite_products_pkey | PRIMARY KEY | PRIMARY KEY (customer_id, product_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_customer_favorite_products_pkey | CREATE UNIQUE INDEX dtb_customer_favorite_products_pkey ON public.dtb_customer_favorite_products USING btree (customer_id, product_id) |
+
+## Relations
+
+![er](public.dtb_customer_favorite_products.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_customer_favorite_products.svg b/docs/database-schema/public.dtb_customer_favorite_products.svg
new file mode 100644
index 0000000000..35f82d3db5
--- /dev/null
+++ b/docs/database-schema/public.dtb_customer_favorite_products.svg
@@ -0,0 +1,418 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_deliv.md b/docs/database-schema/public.dtb_deliv.md
new file mode 100644
index 0000000000..4f7f44ebc6
--- /dev/null
+++ b/docs/database-schema/public.dtb_deliv.md
@@ -0,0 +1,42 @@
+# public.dtb_deliv
+
+## Description
+
+配送業者情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| deliv_id | integer | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_payment_options](public.dtb_payment_options.md) [public.dtb_delivtime](public.dtb_delivtime.md) [public.dtb_delivfee](public.dtb_delivfee.md) | | 配送業者ID |
+| product_type_id | integer | | true | | [public.mtb_product_type](public.mtb_product_type.md) | 商品種別ID |
+| name | text | | true | | | 配送業者名 |
+| service_name | text | | true | | | 配送サービス名 |
+| remark | text | | true | | | 説明 |
+| confirm_url | text | | true | | | 伝票確認URL |
+| rank | integer | | true | | | 表示順 |
+| status | smallint | 1 | false | | | 状態 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_deliv_pkey | PRIMARY KEY | PRIMARY KEY (deliv_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_deliv_pkey | CREATE UNIQUE INDEX dtb_deliv_pkey ON public.dtb_deliv USING btree (deliv_id) |
+
+## Relations
+
+![er](public.dtb_deliv.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_deliv.svg b/docs/database-schema/public.dtb_deliv.svg
new file mode 100644
index 0000000000..fc4b2f7672
--- /dev/null
+++ b/docs/database-schema/public.dtb_deliv.svg
@@ -0,0 +1,763 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_delivfee.md b/docs/database-schema/public.dtb_delivfee.md
new file mode 100644
index 0000000000..eb2c9ada91
--- /dev/null
+++ b/docs/database-schema/public.dtb_delivfee.md
@@ -0,0 +1,34 @@
+# public.dtb_delivfee
+
+## Description
+
+送料情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| deliv_id | integer | | false | | [public.dtb_deliv](public.dtb_deliv.md) | 配送業者ID |
+| fee_id | integer | | false | | | 送料ID |
+| fee | numeric | | false | | | 送料 |
+| pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県名 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_delivfee_pkey | PRIMARY KEY | PRIMARY KEY (deliv_id, fee_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_delivfee_pkey | CREATE UNIQUE INDEX dtb_delivfee_pkey ON public.dtb_delivfee USING btree (deliv_id, fee_id) |
+
+## Relations
+
+![er](public.dtb_delivfee.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_delivfee.svg b/docs/database-schema/public.dtb_delivfee.svg
new file mode 100644
index 0000000000..719e5cd725
--- /dev/null
+++ b/docs/database-schema/public.dtb_delivfee.svg
@@ -0,0 +1,134 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_delivtime.md b/docs/database-schema/public.dtb_delivtime.md
new file mode 100644
index 0000000000..1bbf21fb93
--- /dev/null
+++ b/docs/database-schema/public.dtb_delivtime.md
@@ -0,0 +1,33 @@
+# public.dtb_delivtime
+
+## Description
+
+配送時間情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| deliv_id | integer | | false | | [public.dtb_deliv](public.dtb_deliv.md) | 配送業者ID |
+| time_id | integer | | false | [public.dtb_shipping](public.dtb_shipping.md) | | 配送時間ID |
+| deliv_time | text | | false | | | 配送時間 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_delivtime_pkey | PRIMARY KEY | PRIMARY KEY (deliv_id, time_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_delivtime_pkey | CREATE UNIQUE INDEX dtb_delivtime_pkey ON public.dtb_delivtime USING btree (deliv_id, time_id) |
+
+## Relations
+
+![er](public.dtb_delivtime.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_delivtime.svg b/docs/database-schema/public.dtb_delivtime.svg
new file mode 100644
index 0000000000..eb0ced61df
--- /dev/null
+++ b/docs/database-schema/public.dtb_delivtime.svg
@@ -0,0 +1,230 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_holiday.md b/docs/database-schema/public.dtb_holiday.md
new file mode 100644
index 0000000000..72f49e5671
--- /dev/null
+++ b/docs/database-schema/public.dtb_holiday.md
@@ -0,0 +1,39 @@
+# public.dtb_holiday
+
+## Description
+
+休日情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| holiday_id | integer | | false | | | 休日ID |
+| title | text | | false | | | タイトル |
+| month | smallint | | false | | | 月 |
+| day | smallint | | false | | | 日 |
+| rank | integer | 0 | false | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_holiday_pkey | PRIMARY KEY | PRIMARY KEY (holiday_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_holiday_pkey | CREATE UNIQUE INDEX dtb_holiday_pkey ON public.dtb_holiday USING btree (holiday_id) |
+
+## Relations
+
+![er](public.dtb_holiday.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_holiday.svg b/docs/database-schema/public.dtb_holiday.svg
new file mode 100644
index 0000000000..c675ffe175
--- /dev/null
+++ b/docs/database-schema/public.dtb_holiday.svg
@@ -0,0 +1,133 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_index_list.md b/docs/database-schema/public.dtb_index_list.md
new file mode 100644
index 0000000000..5817d46978
--- /dev/null
+++ b/docs/database-schema/public.dtb_index_list.md
@@ -0,0 +1,34 @@
+# public.dtb_index_list
+
+## Description
+
+インデックス一覧
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| table_name | text | | false | | | テーブル名 |
+| column_name | text | | false | | | カラム名 |
+| recommend_flg | smallint | 0 | false | | | レコメンドフラグ |
+| recommend_comment | text | | true | | | レコメンドフラグコメント |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_index_list_pkey | PRIMARY KEY | PRIMARY KEY (table_name, column_name) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_index_list_pkey | CREATE UNIQUE INDEX dtb_index_list_pkey ON public.dtb_index_list USING btree (table_name, column_name) |
+
+## Relations
+
+![er](public.dtb_index_list.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_index_list.svg b/docs/database-schema/public.dtb_index_list.svg
new file mode 100644
index 0000000000..9081d80028
--- /dev/null
+++ b/docs/database-schema/public.dtb_index_list.svg
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_kiyaku.md b/docs/database-schema/public.dtb_kiyaku.md
new file mode 100644
index 0000000000..510563ef58
--- /dev/null
+++ b/docs/database-schema/public.dtb_kiyaku.md
@@ -0,0 +1,38 @@
+# public.dtb_kiyaku
+
+## Description
+
+規約情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| kiyaku_id | integer | | false | | | 規約ID |
+| kiyaku_title | text | | false | | | 規約タイトル |
+| kiyaku_text | text | | false | | | 規約本文 |
+| rank | integer | 0 | false | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_kiyaku_pkey | PRIMARY KEY | PRIMARY KEY (kiyaku_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_kiyaku_pkey | CREATE UNIQUE INDEX dtb_kiyaku_pkey ON public.dtb_kiyaku USING btree (kiyaku_id) |
+
+## Relations
+
+![er](public.dtb_kiyaku.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_kiyaku.svg b/docs/database-schema/public.dtb_kiyaku.svg
new file mode 100644
index 0000000000..e6b7e05845
--- /dev/null
+++ b/docs/database-schema/public.dtb_kiyaku.svg
@@ -0,0 +1,129 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_mail_history.md b/docs/database-schema/public.dtb_mail_history.md
new file mode 100644
index 0000000000..8c4dda366d
--- /dev/null
+++ b/docs/database-schema/public.dtb_mail_history.md
@@ -0,0 +1,37 @@
+# public.dtb_mail_history
+
+## Description
+
+受注メール送信履歴
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| send_id | integer | | false | | | 送信ID |
+| order_id | integer | | false | | [public.dtb_order](public.dtb_order.md) | 受注ID |
+| send_date | timestamp without time zone | | true | | | 送信日時 |
+| template_id | integer | | true | | [public.dtb_mailtemplate](public.dtb_mailtemplate.md) | テンプレートID |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| subject | text | | true | | | 件名 |
+| mail_body | text | | true | | | メール本文 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_mail_history_pkey | PRIMARY KEY | PRIMARY KEY (send_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_mail_history_pkey | CREATE UNIQUE INDEX dtb_mail_history_pkey ON public.dtb_mail_history USING btree (send_id) |
+
+## Relations
+
+![er](public.dtb_mail_history.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_mail_history.svg b/docs/database-schema/public.dtb_mail_history.svg
new file mode 100644
index 0000000000..7f37995bc9
--- /dev/null
+++ b/docs/database-schema/public.dtb_mail_history.svg
@@ -0,0 +1,419 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_mailmaga_template.md b/docs/database-schema/public.dtb_mailmaga_template.md
new file mode 100644
index 0000000000..90bbe376c6
--- /dev/null
+++ b/docs/database-schema/public.dtb_mailmaga_template.md
@@ -0,0 +1,38 @@
+# public.dtb_mailmaga_template
+
+## Description
+
+メルマガテンプレート情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| template_id | integer | | false | | | テンプレートID |
+| subject | text | | true | | | 件名 |
+| mail_method | integer | | true | | | メール送信方法 |
+| body | text | | true | | | 本文 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_mailmaga_template_pkey | PRIMARY KEY | PRIMARY KEY (template_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_mailmaga_template_pkey | CREATE UNIQUE INDEX dtb_mailmaga_template_pkey ON public.dtb_mailmaga_template USING btree (template_id) |
+
+## Relations
+
+![er](public.dtb_mailmaga_template.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_mailmaga_template.svg b/docs/database-schema/public.dtb_mailmaga_template.svg
new file mode 100644
index 0000000000..b6bd2b3378
--- /dev/null
+++ b/docs/database-schema/public.dtb_mailmaga_template.svg
@@ -0,0 +1,129 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_mailtemplate.md b/docs/database-schema/public.dtb_mailtemplate.md
new file mode 100644
index 0000000000..f39e03a858
--- /dev/null
+++ b/docs/database-schema/public.dtb_mailtemplate.md
@@ -0,0 +1,38 @@
+# public.dtb_mailtemplate
+
+## Description
+
+メールテンプレート情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| template_id | integer | | false | [public.dtb_mail_history](public.dtb_mail_history.md) | | テンプレートID |
+| subject | text | | true | | | 件名 |
+| header | text | | true | | | ヘッダ |
+| footer | text | | true | | | フッタ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_mailtemplate_pkey | PRIMARY KEY | PRIMARY KEY (template_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_mailtemplate_pkey | CREATE UNIQUE INDEX dtb_mailtemplate_pkey ON public.dtb_mailtemplate USING btree (template_id) |
+
+## Relations
+
+![er](public.dtb_mailtemplate.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_mailtemplate.svg b/docs/database-schema/public.dtb_mailtemplate.svg
new file mode 100644
index 0000000000..af8e0c4709
--- /dev/null
+++ b/docs/database-schema/public.dtb_mailtemplate.svg
@@ -0,0 +1,174 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_maker.md b/docs/database-schema/public.dtb_maker.md
new file mode 100644
index 0000000000..d3b2e273fa
--- /dev/null
+++ b/docs/database-schema/public.dtb_maker.md
@@ -0,0 +1,37 @@
+# public.dtb_maker
+
+## Description
+
+メーカー
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| maker_id | integer | | false | [public.dtb_products](public.dtb_products.md) [public.dtb_maker_count](public.dtb_maker_count.md) | | メーカーID |
+| name | text | | false | | | メーカー名 |
+| rank | integer | 0 | false | | | 表示順 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_maker_pkey | PRIMARY KEY | PRIMARY KEY (maker_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_maker_pkey | CREATE UNIQUE INDEX dtb_maker_pkey ON public.dtb_maker USING btree (maker_id) |
+
+## Relations
+
+![er](public.dtb_maker.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_maker.svg b/docs/database-schema/public.dtb_maker.svg
new file mode 100644
index 0000000000..c3d956a160
--- /dev/null
+++ b/docs/database-schema/public.dtb_maker.svg
@@ -0,0 +1,351 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_maker_count.md b/docs/database-schema/public.dtb_maker_count.md
new file mode 100644
index 0000000000..74d07e197b
--- /dev/null
+++ b/docs/database-schema/public.dtb_maker_count.md
@@ -0,0 +1,33 @@
+# public.dtb_maker_count
+
+## Description
+
+メーカーカウント
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| maker_id | integer | | false | | [public.dtb_maker](public.dtb_maker.md) | メーカーID |
+| product_count | integer | | false | | | 登録商品数 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_maker_count_pkey | PRIMARY KEY | PRIMARY KEY (maker_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_maker_count_pkey | CREATE UNIQUE INDEX dtb_maker_count_pkey ON public.dtb_maker_count USING btree (maker_id) |
+
+## Relations
+
+![er](public.dtb_maker_count.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_maker_count.svg b/docs/database-schema/public.dtb_maker_count.svg
new file mode 100644
index 0000000000..8bbf6cd1dc
--- /dev/null
+++ b/docs/database-schema/public.dtb_maker_count.svg
@@ -0,0 +1,81 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_member.md b/docs/database-schema/public.dtb_member.md
new file mode 100644
index 0000000000..ac9be0cded
--- /dev/null
+++ b/docs/database-schema/public.dtb_member.md
@@ -0,0 +1,44 @@
+# public.dtb_member
+
+## Description
+
+管理画面メンバー情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| member_id | integer | | false | [public.dtb_products_class](public.dtb_products_class.md) [public.dtb_classcategory](public.dtb_classcategory.md) [public.dtb_class](public.dtb_class.md) [public.dtb_product_status](public.dtb_product_status.md) [public.dtb_products](public.dtb_products.md) [public.dtb_category](public.dtb_category.md) [public.dtb_recommend_products](public.dtb_recommend_products.md) [public.dtb_best_products](public.dtb_best_products.md) [public.dtb_review](public.dtb_review.md) [public.dtb_deliv](public.dtb_deliv.md) [public.dtb_payment](public.dtb_payment.md) [public.dtb_mail_history](public.dtb_mail_history.md) [public.dtb_send_history](public.dtb_send_history.md) [public.dtb_mailtemplate](public.dtb_mailtemplate.md) [public.dtb_mailmaga_template](public.dtb_mailmaga_template.md) [public.dtb_holiday](public.dtb_holiday.md) [public.dtb_kiyaku](public.dtb_kiyaku.md) [public.dtb_maker](public.dtb_maker.md) [public.dtb_member](public.dtb_member.md) [public.dtb_news](public.dtb_news.md) [public.dtb_tax_rule](public.dtb_tax_rule.md) | | メンバーID |
+| name | text | | true | | | 名前 |
+| department | text | | true | | | 部門 |
+| login_id | text | | false | | | ログインID |
+| password | text | | false | | | パスワード |
+| salt | text | | false | | | 暗号化付与文字列 |
+| authority | smallint | | false | | | 権限 |
+| rank | integer | 0 | false | | | 表示順 |
+| work | smallint | 1 | false | | [public.mtb_work](public.mtb_work.md) | 稼動フラグ |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日付 |
+| login_date | timestamp without time zone | | true | | | 最終ログイン日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_member_pkey | PRIMARY KEY | PRIMARY KEY (member_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_member_pkey | CREATE UNIQUE INDEX dtb_member_pkey ON public.dtb_member USING btree (member_id) |
+
+## Relations
+
+![er](public.dtb_member.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_member.svg b/docs/database-schema/public.dtb_member.svg
new file mode 100644
index 0000000000..82cdd77009
--- /dev/null
+++ b/docs/database-schema/public.dtb_member.svg
@@ -0,0 +1,1464 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_mobile_ext_session_id.md b/docs/database-schema/public.dtb_mobile_ext_session_id.md
new file mode 100644
index 0000000000..130e92bdb4
--- /dev/null
+++ b/docs/database-schema/public.dtb_mobile_ext_session_id.md
@@ -0,0 +1,39 @@
+# public.dtb_mobile_ext_session_id
+
+## Description
+
+モバイルセッション情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| session_id | text | | false | | | セッションID |
+| param_key | text | | true | | | パラメータキー |
+| param_value | text | | true | | | パラメータ値 |
+| url | text | | true | | | URL |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_mobile_ext_session_id_pkey | PRIMARY KEY | PRIMARY KEY (session_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_mobile_ext_session_id_pkey | CREATE UNIQUE INDEX dtb_mobile_ext_session_id_pkey ON public.dtb_mobile_ext_session_id USING btree (session_id) |
+| dtb_mobile_ext_session_id_param_key_key | CREATE INDEX dtb_mobile_ext_session_id_param_key_key ON public.dtb_mobile_ext_session_id USING btree (param_key) |
+| dtb_mobile_ext_session_id_param_value_key | CREATE INDEX dtb_mobile_ext_session_id_param_value_key ON public.dtb_mobile_ext_session_id USING btree (param_value) |
+| dtb_mobile_ext_session_id_url_key | CREATE INDEX dtb_mobile_ext_session_id_url_key ON public.dtb_mobile_ext_session_id USING btree (url) |
+| dtb_mobile_ext_session_id_create_date_key | CREATE INDEX dtb_mobile_ext_session_id_create_date_key ON public.dtb_mobile_ext_session_id USING btree (create_date) |
+
+## Relations
+
+![er](public.dtb_mobile_ext_session_id.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_mobile_ext_session_id.svg b/docs/database-schema/public.dtb_mobile_ext_session_id.svg
new file mode 100644
index 0000000000..b1d4c5b8cc
--- /dev/null
+++ b/docs/database-schema/public.dtb_mobile_ext_session_id.svg
@@ -0,0 +1,44 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_module.md b/docs/database-schema/public.dtb_module.md
new file mode 100644
index 0000000000..8b4eb8be05
--- /dev/null
+++ b/docs/database-schema/public.dtb_module.md
@@ -0,0 +1,38 @@
+# public.dtb_module
+
+## Description
+
+モジュール情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| module_id | integer | | false | [public.dtb_payment](public.dtb_payment.md) [public.dtb_update](public.dtb_update.md) [public.dtb_module_update_logs](public.dtb_module_update_logs.md) | | モジュールID |
+| module_code | text | | false | | | モジュールコード |
+| module_name | text | | false | | | モジュール名 |
+| sub_data | text | | true | | | データ |
+| auto_update_flg | smallint | 0 | false | | | 自動更新フラグ |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_module_pkey | PRIMARY KEY | PRIMARY KEY (module_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_module_pkey | CREATE UNIQUE INDEX dtb_module_pkey ON public.dtb_module USING btree (module_id) |
+
+## Relations
+
+![er](public.dtb_module.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_module.svg b/docs/database-schema/public.dtb_module.svg
new file mode 100644
index 0000000000..fc53a9b5a0
--- /dev/null
+++ b/docs/database-schema/public.dtb_module.svg
@@ -0,0 +1,311 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_module_update_logs.md b/docs/database-schema/public.dtb_module_update_logs.md
new file mode 100644
index 0000000000..adf8ac18c8
--- /dev/null
+++ b/docs/database-schema/public.dtb_module_update_logs.md
@@ -0,0 +1,38 @@
+# public.dtb_module_update_logs
+
+## Description
+
+モジュール更新ログ情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| log_id | integer | | false | | | ログID |
+| module_id | integer | | false | | [public.dtb_module](public.dtb_module.md) | モジュールID |
+| buckup_path | text | | true | | | バックアップパス |
+| error_flg | smallint | 0 | true | | | エラーフラグ |
+| error | text | | true | | | エラーメッセージ |
+| ok | text | | true | | | 正常終了メッセージ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_module_update_logs_pkey | PRIMARY KEY | PRIMARY KEY (log_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_module_update_logs_pkey | CREATE UNIQUE INDEX dtb_module_update_logs_pkey ON public.dtb_module_update_logs USING btree (log_id) |
+
+## Relations
+
+![er](public.dtb_module_update_logs.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_module_update_logs.svg b/docs/database-schema/public.dtb_module_update_logs.svg
new file mode 100644
index 0000000000..b5d9a551c5
--- /dev/null
+++ b/docs/database-schema/public.dtb_module_update_logs.svg
@@ -0,0 +1,105 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_news.md b/docs/database-schema/public.dtb_news.md
new file mode 100644
index 0000000000..5a18e41fb4
--- /dev/null
+++ b/docs/database-schema/public.dtb_news.md
@@ -0,0 +1,42 @@
+# public.dtb_news
+
+## Description
+
+新着情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| news_id | integer | | false | | | 新着情報ID |
+| news_date | timestamp without time zone | | true | | | 新着情報日付 |
+| rank | integer | | true | | | 表示順 |
+| news_title | text | | false | | | 新着情報タイトル |
+| news_comment | text | | true | | | 新着情報コメント |
+| news_url | text | | true | | | 新着情報URL |
+| news_select | smallint | 0 | false | | | 不明(未使用?) |
+| link_method | text | | true | | | 別ウィンドウで開くフラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_news_pkey | PRIMARY KEY | PRIMARY KEY (news_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_news_pkey | CREATE UNIQUE INDEX dtb_news_pkey ON public.dtb_news USING btree (news_id) |
+
+## Relations
+
+![er](public.dtb_news.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_news.svg b/docs/database-schema/public.dtb_news.svg
new file mode 100644
index 0000000000..2e65fc59a1
--- /dev/null
+++ b/docs/database-schema/public.dtb_news.svg
@@ -0,0 +1,145 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_order.md b/docs/database-schema/public.dtb_order.md
new file mode 100644
index 0000000000..ad654a3e91
--- /dev/null
+++ b/docs/database-schema/public.dtb_order.md
@@ -0,0 +1,88 @@
+# public.dtb_order
+
+## Description
+
+受注情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| order_id | integer | | false | [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_order_detail](public.dtb_order_detail.md) [public.dtb_shipping](public.dtb_shipping.md) [public.dtb_shipment_item](public.dtb_shipment_item.md) [public.dtb_mail_history](public.dtb_mail_history.md) | | 受注ID |
+| order_temp_id | text | | true | | [public.dtb_order_temp](public.dtb_order_temp.md) | 受注一時情報ID |
+| customer_id | integer | | false | | [public.dtb_customer](public.dtb_customer.md) | 顧客ID |
+| message | text | | true | | | 要望等 |
+| order_name01 | text | | true | | | 顧客名(姓) |
+| order_name02 | text | | true | | | 顧客名(名) |
+| order_kana01 | text | | true | | | 顧客カナ(姓) |
+| order_kana02 | text | | true | | | 顧客カナ(名) |
+| order_company_name | text | | true | | | 【2.13】会社名 |
+| order_email | text | | true | | | 顧客メールアドレス |
+| order_tel01 | text | | true | | | 顧客電話番号(市外局番) |
+| order_tel02 | text | | true | | | 顧客電話番号(市内局番) |
+| order_tel03 | text | | true | | | 顧客電話番号(局番) |
+| order_fax01 | text | | true | | | 顧客FAX(市外局番) |
+| order_fax02 | text | | true | | | 顧客FAX(市内局番) |
+| order_fax03 | text | | true | | | 顧客FAX(局番) |
+| order_zip01 | text | | true | | | 顧客郵便番号(4桁) |
+| order_zip02 | text | | true | | | 顧客郵便番号(3桁) |
+| order_zipcode | text | | true | | | 【2.13】顧客郵便番号(海外対応) |
+| order_country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】顧客国ID |
+| order_pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県ID |
+| order_addr01 | text | | true | | | 顧客住所1 |
+| order_addr02 | text | | true | | | 顧客住所2 |
+| order_sex | smallint | | true | | [public.mtb_sex](public.mtb_sex.md) | 顧客性別 |
+| order_birth | timestamp without time zone | | true | | | 顧客生年月日 |
+| order_job | integer | | true | | [public.mtb_job](public.mtb_job.md) | 顧客職業 |
+| subtotal | numeric | | true | | | 小計 |
+| discount | numeric | 0 | false | | | 値引き |
+| deliv_id | integer | | true | | [public.dtb_deliv](public.dtb_deliv.md) | 配送業者ID |
+| deliv_fee | numeric | | true | | | 送料 |
+| charge | numeric | | true | | | 手数料 |
+| use_point | numeric | 0 | false | | | 使用ポイント |
+| add_point | numeric | 0 | false | | | 加算ポイント |
+| birth_point | numeric | 0 | false | | | お誕生日ポイント |
+| tax | numeric | | true | | | 税金 |
+| total | numeric | | true | | | 合計 |
+| payment_total | numeric | | true | | | 支払い合計 |
+| payment_id | integer | | true | | [public.dtb_payment](public.dtb_payment.md) | 支払方法ID |
+| payment_method | text | | true | | | 支払方法 |
+| note | text | | true | | | 備考 |
+| status | smallint | | true | | [public.mtb_order_status](public.mtb_order_status.md) [public.mtb_order_status_color](public.mtb_order_status_color.md) [public.mtb_customer_order_status](public.mtb_customer_order_status.md) | 受注状態 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| commit_date | timestamp without time zone | | true | | | 発送済み日時 |
+| payment_date | timestamp without time zone | | true | | | 入金日時 |
+| device_type_id | integer | | true | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| memo01 | text | | true | | | 汎用項目1 |
+| memo02 | text | | true | | | 汎用項目2 |
+| memo03 | text | | true | | | 汎用項目3 |
+| memo04 | text | | true | | | 汎用項目4 |
+| memo05 | text | | true | | | 汎用項目5 |
+| memo06 | text | | true | | | 汎用項目6 |
+| memo07 | text | | true | | | 汎用項目7 |
+| memo08 | text | | true | | | 汎用項目8 |
+| memo09 | text | | true | | | 汎用項目9 |
+| memo10 | text | | true | | | 汎用項目10 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_order_pkey | PRIMARY KEY | PRIMARY KEY (order_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_order_pkey | CREATE UNIQUE INDEX dtb_order_pkey ON public.dtb_order USING btree (order_id) |
+| dtb_order_customer_id_key | CREATE INDEX dtb_order_customer_id_key ON public.dtb_order USING btree (customer_id) |
+
+## Relations
+
+![er](public.dtb_order.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_order.svg b/docs/database-schema/public.dtb_order.svg
new file mode 100644
index 0000000000..a4ecc5bd87
--- /dev/null
+++ b/docs/database-schema/public.dtb_order.svg
@@ -0,0 +1,1419 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_order_detail.md b/docs/database-schema/public.dtb_order_detail.md
new file mode 100644
index 0000000000..43e0736087
--- /dev/null
+++ b/docs/database-schema/public.dtb_order_detail.md
@@ -0,0 +1,45 @@
+# public.dtb_order_detail
+
+## Description
+
+受注詳細情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| order_detail_id | integer | | false | | | 受注詳細ID |
+| order_id | integer | | false | | [public.dtb_order](public.dtb_order.md) | 受注ID |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| product_class_id | integer | | false | | [public.dtb_products_class](public.dtb_products_class.md) | 商品規格ID |
+| product_name | text | | false | | | 商品名 |
+| product_code | text | | true | | | 商品コード |
+| classcategory_name1 | text | | true | | | 商品規格名1 |
+| classcategory_name2 | text | | true | | | 商品規格名2 |
+| price | numeric | | true | | | 価格 |
+| quantity | numeric | | true | | | 個数 |
+| point_rate | numeric | 0 | false | | | ポイント付与率 |
+| tax_rate | numeric | | true | | | 【2.13】消費税率 |
+| tax_rule | smallint | | true | | | 【2.13】課税規則 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_order_detail_pkey | PRIMARY KEY | PRIMARY KEY (order_detail_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_order_detail_pkey | CREATE UNIQUE INDEX dtb_order_detail_pkey ON public.dtb_order_detail USING btree (order_detail_id) |
+| dtb_order_detail_order_id_key | CREATE INDEX dtb_order_detail_order_id_key ON public.dtb_order_detail USING btree (order_id) |
+| dtb_order_detail_product_id_key | CREATE INDEX dtb_order_detail_product_id_key ON public.dtb_order_detail USING btree (product_id) |
+
+## Relations
+
+![er](public.dtb_order_detail.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_order_detail.svg b/docs/database-schema/public.dtb_order_detail.svg
new file mode 100644
index 0000000000..fea8981699
--- /dev/null
+++ b/docs/database-schema/public.dtb_order_detail.svg
@@ -0,0 +1,611 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_order_temp.md b/docs/database-schema/public.dtb_order_temp.md
new file mode 100644
index 0000000000..052db2c6ca
--- /dev/null
+++ b/docs/database-schema/public.dtb_order_temp.md
@@ -0,0 +1,89 @@
+# public.dtb_order_temp
+
+## Description
+
+受注一時情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| order_temp_id | text | | false | [public.dtb_order](public.dtb_order.md) | | 受注一時情報ID |
+| customer_id | integer | | false | | [public.dtb_customer](public.dtb_customer.md) | 顧客ID |
+| message | text | | true | | | 要望等 |
+| order_name01 | text | | true | | | 顧客名(姓) |
+| order_name02 | text | | true | | | 顧客名(名) |
+| order_kana01 | text | | true | | | 顧客カナ(姓) |
+| order_kana02 | text | | true | | | 顧客カナ(名) |
+| order_company_name | text | | true | | | 【2.13】会社名 |
+| order_email | text | | true | | | 顧客メールアドレス |
+| order_tel01 | text | | true | | | 顧客電話番号(市外局番) |
+| order_tel02 | text | | true | | | 顧客電話番号(市内局番) |
+| order_tel03 | text | | true | | | 顧客電話番号(局番) |
+| order_fax01 | text | | true | | | 顧客FAX(市外局番) |
+| order_fax02 | text | | true | | | 顧客FAX(市内局番) |
+| order_fax03 | text | | true | | | 顧客FAX(局番) |
+| order_zip01 | text | | true | | | 顧客郵便番号(4桁) |
+| order_zip02 | text | | true | | | 顧客郵便番号(3桁) |
+| order_zipcode | text | | true | | | 【2.13】顧客郵便番号(海外対応) |
+| order_country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】顧客国ID |
+| order_pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県ID |
+| order_addr01 | text | | true | | | 顧客住所1 |
+| order_addr02 | text | | true | | | 顧客住所2 |
+| order_sex | smallint | | true | | [public.mtb_sex](public.mtb_sex.md) | 顧客性別 |
+| order_birth | timestamp without time zone | | true | | | 顧客生年月日 |
+| order_job | integer | | true | | [public.mtb_job](public.mtb_job.md) | 顧客職業 |
+| subtotal | numeric | | true | | | 小計 |
+| discount | numeric | 0 | false | | | 値引き |
+| deliv_id | integer | | true | | [public.dtb_deliv](public.dtb_deliv.md) | 配送業者ID |
+| deliv_fee | numeric | | true | | | 送料 |
+| charge | numeric | | true | | | 手数料 |
+| use_point | numeric | 0 | false | | | 使用ポイント |
+| add_point | numeric | 0 | false | | | 加算ポイント |
+| birth_point | numeric | 0 | false | | | お誕生日ポイント |
+| tax | numeric | | true | | | 税金 |
+| total | numeric | | true | | | 合計 |
+| payment_total | numeric | | true | | | 支払い合計 |
+| payment_id | integer | | true | | [public.dtb_payment](public.dtb_payment.md) | 支払方法ID |
+| payment_method | text | | true | | | 支払方法 |
+| note | text | | true | | | 備考 |
+| mail_flag | smallint | | true | | | メルマガ希望フラグ |
+| status | smallint | | true | | [public.mtb_order_status](public.mtb_order_status.md) [public.mtb_order_status_color](public.mtb_order_status_color.md) [public.mtb_customer_order_status](public.mtb_customer_order_status.md) | 受注状態 |
+| deliv_check | smallint | | true | | | 属性0 |
+| point_check | smallint | | true | | | ポイント使用フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| device_type_id | integer | | true | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| order_id | integer | | true | | [public.dtb_order](public.dtb_order.md) | 受注ID |
+| memo01 | text | | true | | | 汎用項目1 |
+| memo02 | text | | true | | | 汎用項目2 |
+| memo03 | text | | true | | | 汎用項目3 |
+| memo04 | text | | true | | | 汎用項目4 |
+| memo05 | text | | true | | | 汎用項目5 |
+| memo06 | text | | true | | | 汎用項目6 |
+| memo07 | text | | true | | | 汎用項目7 |
+| memo08 | text | | true | | | 汎用項目8 |
+| memo09 | text | | true | | | 汎用項目9 |
+| memo10 | text | | true | | | 汎用項目10 |
+| session | text | | true | | | セッション情報 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_order_temp_pkey | PRIMARY KEY | PRIMARY KEY (order_temp_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_order_temp_pkey | CREATE UNIQUE INDEX dtb_order_temp_pkey ON public.dtb_order_temp USING btree (order_temp_id) |
+
+## Relations
+
+![er](public.dtb_order_temp.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_order_temp.svg b/docs/database-schema/public.dtb_order_temp.svg
new file mode 100644
index 0000000000..6b742fd4d9
--- /dev/null
+++ b/docs/database-schema/public.dtb_order_temp.svg
@@ -0,0 +1,1123 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_other_deliv.md b/docs/database-schema/public.dtb_other_deliv.md
new file mode 100644
index 0000000000..b5f30e5fb3
--- /dev/null
+++ b/docs/database-schema/public.dtb_other_deliv.md
@@ -0,0 +1,50 @@
+# public.dtb_other_deliv
+
+## Description
+
+その他の配送先情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| other_deliv_id | integer | | false | | | その他の配送先ID |
+| customer_id | integer | | false | | [public.dtb_customer](public.dtb_customer.md) | 顧客ID |
+| name01 | text | | true | | | 姓 |
+| name02 | text | | true | | | 名 |
+| kana01 | text | | true | | | 姓(カナ) |
+| kana02 | text | | true | | | 名(カナ) |
+| company_name | text | | true | | | 【2.13】会社名 |
+| zip01 | text | | true | | | 郵便番号(4桁) |
+| zip02 | text | | true | | | 郵便番号(3桁) |
+| zipcode | text | | true | | | 【2.13】郵便番号(海外対応) |
+| country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】国ID |
+| pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県 |
+| addr01 | text | | true | | | 市区町村 |
+| addr02 | text | | true | | | 番地等 |
+| tel01 | text | | true | | | 電話(市外局番) |
+| tel02 | text | | true | | | 電話(市内局番) |
+| tel03 | text | | true | | | 電話(局番) |
+| fax01 | text | | true | | | FAX(市外局番) |
+| fax02 | text | | true | | | FAX(市内局番) |
+| fax03 | text | | true | | | FAX(局番) |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_other_deliv_pkey | PRIMARY KEY | PRIMARY KEY (other_deliv_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_other_deliv_pkey | CREATE UNIQUE INDEX dtb_other_deliv_pkey ON public.dtb_other_deliv USING btree (other_deliv_id) |
+
+## Relations
+
+![er](public.dtb_other_deliv.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_other_deliv.svg b/docs/database-schema/public.dtb_other_deliv.svg
new file mode 100644
index 0000000000..f693a90ae1
--- /dev/null
+++ b/docs/database-schema/public.dtb_other_deliv.svg
@@ -0,0 +1,343 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_ownersstore_settings.md b/docs/database-schema/public.dtb_ownersstore_settings.md
new file mode 100644
index 0000000000..958ac5c9f2
--- /dev/null
+++ b/docs/database-schema/public.dtb_ownersstore_settings.md
@@ -0,0 +1,31 @@
+# public.dtb_ownersstore_settings
+
+## Description
+
+オーナーズストア設定
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| public_key | text | | false | | | 認証キー |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_ownersstore_settings_pkey | PRIMARY KEY | PRIMARY KEY (public_key) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_ownersstore_settings_pkey | CREATE UNIQUE INDEX dtb_ownersstore_settings_pkey ON public.dtb_ownersstore_settings USING btree (public_key) |
+
+## Relations
+
+![er](public.dtb_ownersstore_settings.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_ownersstore_settings.svg b/docs/database-schema/public.dtb_ownersstore_settings.svg
new file mode 100644
index 0000000000..9c4e0bdd0e
--- /dev/null
+++ b/docs/database-schema/public.dtb_ownersstore_settings.svg
@@ -0,0 +1,28 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_pagelayout.md b/docs/database-schema/public.dtb_pagelayout.md
new file mode 100644
index 0000000000..7b415477a6
--- /dev/null
+++ b/docs/database-schema/public.dtb_pagelayout.md
@@ -0,0 +1,45 @@
+# public.dtb_pagelayout
+
+## Description
+
+ページレイアウト情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| device_type_id | integer | | false | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| page_id | integer | | false | [public.dtb_blocposition](public.dtb_blocposition.md) | | ページID |
+| page_name | text | | true | | | ページ名 |
+| url | text | | false | | | ページURL |
+| filename | text | | true | | | ファイル名 |
+| header_chk | smallint | 1 | true | | | ヘッダチェックフラグ |
+| footer_chk | smallint | 1 | true | | | フッタチェックフラグ |
+| edit_flg | smallint | 1 | true | | | 修正フラグ |
+| author | text | | true | | | meta タグ(Author) |
+| description | text | | true | | | meta タグ(Description) |
+| keyword | text | | true | | | meta タグ(keyword) |
+| update_url | text | | true | | | 更新実施URL |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| meta_robots | text | | true | | | 【2.13】meta タグ(robots) |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_pagelayout_pkey | PRIMARY KEY | PRIMARY KEY (device_type_id, page_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_pagelayout_pkey | CREATE UNIQUE INDEX dtb_pagelayout_pkey ON public.dtb_pagelayout USING btree (device_type_id, page_id) |
+
+## Relations
+
+![er](public.dtb_pagelayout.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_pagelayout.svg b/docs/database-schema/public.dtb_pagelayout.svg
new file mode 100644
index 0000000000..d25ecbcd4a
--- /dev/null
+++ b/docs/database-schema/public.dtb_pagelayout.svg
@@ -0,0 +1,154 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_payment.md b/docs/database-schema/public.dtb_payment.md
new file mode 100644
index 0000000000..41fee3b4a5
--- /dev/null
+++ b/docs/database-schema/public.dtb_payment.md
@@ -0,0 +1,59 @@
+# public.dtb_payment
+
+## Description
+
+支払方法情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| payment_id | integer | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_payment_options](public.dtb_payment_options.md) | | 支払方法ID |
+| payment_method | text | | true | | | 支払方法 |
+| charge | numeric | | true | | | 手数料 |
+| rule_max | numeric | | true | | | 利用条件(円以上) |
+| rank | integer | | true | | | 表示順 |
+| note | text | | true | | | 備考 |
+| fix | smallint | | true | | | 固定:1 自由設定:2 |
+| status | smallint | 1 | false | | | 状態 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| payment_image | text | | true | | | 支払方法ロゴ |
+| upper_rule | numeric | | true | | | 利用条件(円以下) |
+| charge_flg | smallint | 1 | true | | | 手数料設定フラグ |
+| rule_min | numeric | | true | | | 利用条件(円以上)の下限 |
+| upper_rule_max | numeric | | true | | | 利用条件(円以下)の上限 |
+| module_id | integer | | true | | [public.dtb_module](public.dtb_module.md) | 追加モジュールID |
+| module_path | text | | true | | | 追加モジュールパス |
+| memo01 | text | | true | | | 汎用項目1 |
+| memo02 | text | | true | | | 汎用項目2 |
+| memo03 | text | | true | | | 汎用項目3 |
+| memo04 | text | | true | | | 汎用項目4 |
+| memo05 | text | | true | | | 汎用項目5 |
+| memo06 | text | | true | | | 汎用項目6 |
+| memo07 | text | | true | | | 汎用項目7 |
+| memo08 | text | | true | | | 汎用項目8 |
+| memo09 | text | | true | | | 汎用項目9 |
+| memo10 | text | | true | | | 汎用項目10 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_payment_pkey | PRIMARY KEY | PRIMARY KEY (payment_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_payment_pkey | CREATE UNIQUE INDEX dtb_payment_pkey ON public.dtb_payment USING btree (payment_id) |
+
+## Relations
+
+![er](public.dtb_payment.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_payment.svg b/docs/database-schema/public.dtb_payment.svg
new file mode 100644
index 0000000000..9cbe82c439
--- /dev/null
+++ b/docs/database-schema/public.dtb_payment.svg
@@ -0,0 +1,789 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_payment_options.md b/docs/database-schema/public.dtb_payment_options.md
new file mode 100644
index 0000000000..4eb765f65f
--- /dev/null
+++ b/docs/database-schema/public.dtb_payment_options.md
@@ -0,0 +1,33 @@
+# public.dtb_payment_options
+
+## Description
+
+支払選択肢情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| deliv_id | integer | | false | | [public.dtb_deliv](public.dtb_deliv.md) | 配送業者ID |
+| payment_id | integer | | false | | [public.dtb_payment](public.dtb_payment.md) | 支払方法ID |
+| rank | integer | | true | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_payment_options_pkey | PRIMARY KEY | PRIMARY KEY (deliv_id, payment_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_payment_options_pkey | CREATE UNIQUE INDEX dtb_payment_options_pkey ON public.dtb_payment_options USING btree (deliv_id, payment_id) |
+
+## Relations
+
+![er](public.dtb_payment_options.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_payment_options.svg b/docs/database-schema/public.dtb_payment_options.svg
new file mode 100644
index 0000000000..76175b5b08
--- /dev/null
+++ b/docs/database-schema/public.dtb_payment_options.svg
@@ -0,0 +1,234 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_plugin.md b/docs/database-schema/public.dtb_plugin.md
new file mode 100644
index 0000000000..f12e808368
--- /dev/null
+++ b/docs/database-schema/public.dtb_plugin.md
@@ -0,0 +1,48 @@
+# public.dtb_plugin
+
+## Description
+
+プラグイン情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| plugin_id | integer | | false | [public.dtb_bloc](public.dtb_bloc.md) [public.dtb_plugin_hookpoint](public.dtb_plugin_hookpoint.md) | | プラグインID |
+| plugin_name | text | | false | | | プラグイン名 |
+| plugin_code | text | | false | | | プラグインコード |
+| class_name | text | | false | | | クラス名 |
+| author | text | | true | | | 作成者 |
+| author_site_url | text | | true | | | 作成者サイトURL |
+| plugin_site_url | text | | true | | | サイトURL |
+| plugin_version | text | | true | | | バージョン |
+| compliant_version | text | | true | | | 本体対応バージョン |
+| plugin_description | text | | true | | | 詳細説明 |
+| priority | integer | 0 | false | | | 優先度 |
+| enable | smallint | 0 | false | | | 有効 |
+| free_field1 | text | | true | | | 任意項目1 |
+| free_field2 | text | | true | | | 任意項目2 |
+| free_field3 | text | | true | | | 任意項目3 |
+| free_field4 | text | | true | | | 任意項目4 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_plugin_pkey | PRIMARY KEY | PRIMARY KEY (plugin_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_plugin_pkey | CREATE UNIQUE INDEX dtb_plugin_pkey ON public.dtb_plugin USING btree (plugin_id) |
+
+## Relations
+
+![er](public.dtb_plugin.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_plugin.svg b/docs/database-schema/public.dtb_plugin.svg
new file mode 100644
index 0000000000..bef7358a0c
--- /dev/null
+++ b/docs/database-schema/public.dtb_plugin.svg
@@ -0,0 +1,198 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_plugin_hookpoint.md b/docs/database-schema/public.dtb_plugin_hookpoint.md
new file mode 100644
index 0000000000..7e5125ba84
--- /dev/null
+++ b/docs/database-schema/public.dtb_plugin_hookpoint.md
@@ -0,0 +1,37 @@
+# public.dtb_plugin_hookpoint
+
+## Description
+
+プラグインフックポイント
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| plugin_hookpoint_id | integer | | false | | | プラグインフックポイントID |
+| plugin_id | integer | | false | | [public.dtb_plugin](public.dtb_plugin.md) | プラグインID |
+| hook_point | text | | false | | | フックポイント |
+| callback | text | | true | | | コールバック関数 |
+| use_flg | smallint | 1 | false | | | 【2.13】利用フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_plugin_hookpoint_pkey | PRIMARY KEY | PRIMARY KEY (plugin_hookpoint_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_plugin_hookpoint_pkey | CREATE UNIQUE INDEX dtb_plugin_hookpoint_pkey ON public.dtb_plugin_hookpoint USING btree (plugin_hookpoint_id) |
+
+## Relations
+
+![er](public.dtb_plugin_hookpoint.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_plugin_hookpoint.svg b/docs/database-schema/public.dtb_plugin_hookpoint.svg
new file mode 100644
index 0000000000..39c8d02403
--- /dev/null
+++ b/docs/database-schema/public.dtb_plugin_hookpoint.svg
@@ -0,0 +1,141 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_product_categories.md b/docs/database-schema/public.dtb_product_categories.md
new file mode 100644
index 0000000000..fa926a684d
--- /dev/null
+++ b/docs/database-schema/public.dtb_product_categories.md
@@ -0,0 +1,33 @@
+# public.dtb_product_categories
+
+## Description
+
+商品カテゴリ関連
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| category_id | integer | | false | | [public.dtb_category](public.dtb_category.md) | カテゴリID |
+| rank | integer | | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_product_categories_pkey | PRIMARY KEY | PRIMARY KEY (product_id, category_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_product_categories_pkey | CREATE UNIQUE INDEX dtb_product_categories_pkey ON public.dtb_product_categories USING btree (product_id, category_id) |
+
+## Relations
+
+![er](public.dtb_product_categories.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_product_categories.svg b/docs/database-schema/public.dtb_product_categories.svg
new file mode 100644
index 0000000000..598653d122
--- /dev/null
+++ b/docs/database-schema/public.dtb_product_categories.svg
@@ -0,0 +1,286 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_product_status.md b/docs/database-schema/public.dtb_product_status.md
new file mode 100644
index 0000000000..66b73cdff7
--- /dev/null
+++ b/docs/database-schema/public.dtb_product_status.md
@@ -0,0 +1,36 @@
+# public.dtb_product_status
+
+## Description
+
+商品ステータス情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| product_status_id | smallint | | false | | [public.mtb_status](public.mtb_status.md) [public.mtb_status_image](public.mtb_status_image.md) | 商品ステータスID |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_product_status_pkey | PRIMARY KEY | PRIMARY KEY (product_status_id, product_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_product_status_pkey | CREATE UNIQUE INDEX dtb_product_status_pkey ON public.dtb_product_status USING btree (product_status_id, product_id) |
+
+## Relations
+
+![er](public.dtb_product_status.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_product_status.svg b/docs/database-schema/public.dtb_product_status.svg
new file mode 100644
index 0000000000..3cda461b29
--- /dev/null
+++ b/docs/database-schema/public.dtb_product_status.svg
@@ -0,0 +1,376 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_products.md b/docs/database-schema/public.dtb_products.md
new file mode 100644
index 0000000000..8a49267614
--- /dev/null
+++ b/docs/database-schema/public.dtb_products.md
@@ -0,0 +1,75 @@
+# public.dtb_products
+
+## Description
+
+商品情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| product_id | integer | | false | [public.dtb_products_class](public.dtb_products_class.md) [public.dtb_product_status](public.dtb_product_status.md) [public.dtb_product_categories](public.dtb_product_categories.md) [public.dtb_recommend_products](public.dtb_recommend_products.md) [public.dtb_best_products](public.dtb_best_products.md) [public.dtb_review](public.dtb_review.md) [public.dtb_customer_favorite_products](public.dtb_customer_favorite_products.md) [public.dtb_order_detail](public.dtb_order_detail.md) [public.dtb_tax_rule](public.dtb_tax_rule.md) | | 商品ID |
+| name | text | | false | | | 商品名 |
+| maker_id | integer | | true | | [public.dtb_maker](public.dtb_maker.md) | メーカーID |
+| status | smallint | 2 | false | | [public.mtb_disp](public.mtb_disp.md) | 表示ステータス |
+| comment1 | text | | true | | | コメント1(メーカーURL) |
+| comment2 | text | | true | | | コメント2 |
+| comment3 | text | | true | | | コメント3(検索ワード) |
+| comment4 | text | | true | | | コメント4 |
+| comment5 | text | | true | | | コメント5 |
+| comment6 | text | | true | | | コメント6 |
+| note | text | | true | | | 備考 |
+| main_list_comment | text | | true | | | メイン一覧コメント |
+| main_list_image | text | | true | | | メイン一覧画像 |
+| main_comment | text | | true | | | メインコメント |
+| main_image | text | | true | | | メイン画像 |
+| main_large_image | text | | true | | | メイン拡大画像 |
+| sub_title1 | text | | true | | | サブタイトル1 |
+| sub_comment1 | text | | true | | | サブコメント1 |
+| sub_image1 | text | | true | | | サブ画像1 |
+| sub_large_image1 | text | | true | | | サブ拡大画像1 |
+| sub_title2 | text | | true | | | サブタイトル2 |
+| sub_comment2 | text | | true | | | サブコメント2 |
+| sub_image2 | text | | true | | | サブ画像2 |
+| sub_large_image2 | text | | true | | | サブ拡大画像2 |
+| sub_title3 | text | | true | | | サブタイトル3 |
+| sub_comment3 | text | | true | | | サブコメント3 |
+| sub_image3 | text | | true | | | サブ画像3 |
+| sub_large_image3 | text | | true | | | サブ拡大画像3 |
+| sub_title4 | text | | true | | | サブタイトル4 |
+| sub_comment4 | text | | true | | | サブコメント4 |
+| sub_image4 | text | | true | | | サブ画像4 |
+| sub_large_image4 | text | | true | | | サブ拡大画像4 |
+| sub_title5 | text | | true | | | サブタイトル5 |
+| sub_comment5 | text | | true | | | サブコメント5 |
+| sub_image5 | text | | true | | | サブ画像5 |
+| sub_large_image5 | text | | true | | | サブ拡大画像5 |
+| sub_title6 | text | | true | | | サブタイトル6 |
+| sub_comment6 | text | | true | | | サブコメント6 |
+| sub_image6 | text | | true | | | サブ画像6 |
+| sub_large_image6 | text | | true | | | サブ拡大画像6 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| deliv_date_id | integer | | true | | [public.mtb_delivery_date](public.mtb_delivery_date.md) | 発送日目安 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_products_pkey | PRIMARY KEY | PRIMARY KEY (product_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_products_pkey | CREATE UNIQUE INDEX dtb_products_pkey ON public.dtb_products USING btree (product_id) |
+
+## Relations
+
+![er](public.dtb_products.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_products.svg b/docs/database-schema/public.dtb_products.svg
new file mode 100644
index 0000000000..3f3e417ff5
--- /dev/null
+++ b/docs/database-schema/public.dtb_products.svg
@@ -0,0 +1,893 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_products_class.md b/docs/database-schema/public.dtb_products_class.md
new file mode 100644
index 0000000000..1f3657fb75
--- /dev/null
+++ b/docs/database-schema/public.dtb_products_class.md
@@ -0,0 +1,59 @@
+# public.dtb_products_class
+
+## Description
+
+商品規格情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| product_class_id | integer | | false | [public.dtb_order_detail](public.dtb_order_detail.md) [public.dtb_shipment_item](public.dtb_shipment_item.md) [public.dtb_tax_rule](public.dtb_tax_rule.md) | | 商品規格ID |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| classcategory_id1 | integer | 0 | false | | [public.dtb_classcategory](public.dtb_classcategory.md) | 規格分類ID1 |
+| classcategory_id2 | integer | 0 | false | | [public.dtb_classcategory](public.dtb_classcategory.md) | 規格分類ID2 |
+| product_type_id | integer | 0 | false | | [public.mtb_product_type](public.mtb_product_type.md) | 商品種別ID |
+| product_code | text | | true | | | 商品コード |
+| stock | numeric | | true | | | 在庫数 |
+| stock_unlimited | smallint | 0 | false | | | 在庫制限 |
+| sale_limit | numeric | | true | | | 販売制限数 |
+| price01 | numeric | | true | | | 価格 |
+| price02 | numeric | | false | | | 特別価格 |
+| deliv_fee | numeric | | true | | | 商品送料 |
+| point_rate | numeric | 0 | false | | | ポイント付与率 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| down_filename | text | | true | | | ダウンロードファイル名 |
+| down_realfilename | text | | true | | | ダウンロード実ファイル名 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_products_class_pkey | PRIMARY KEY | PRIMARY KEY (product_class_id) |
+| dtb_products_class_unique_key | UNIQUE | UNIQUE (product_id, classcategory_id1, classcategory_id2) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_products_class_pkey | CREATE UNIQUE INDEX dtb_products_class_pkey ON public.dtb_products_class USING btree (product_class_id) |
+| dtb_products_class_unique_key | CREATE UNIQUE INDEX dtb_products_class_unique_key ON public.dtb_products_class USING btree (product_id, classcategory_id1, classcategory_id2) |
+| dtb_products_class_product_id_key | CREATE INDEX dtb_products_class_product_id_key ON public.dtb_products_class USING btree (product_id) WHERE (del_flg = 0) |
+| dtb_products_class_product_code_key | CREATE INDEX dtb_products_class_product_code_key ON public.dtb_products_class USING btree (product_id, product_code) WHERE (del_flg = 0) |
+| dtb_products_class_price01_key | CREATE INDEX dtb_products_class_price01_key ON public.dtb_products_class USING btree (product_id, price01) WHERE (del_flg = 0) |
+| dtb_products_class_price02_key | CREATE INDEX dtb_products_class_price02_key ON public.dtb_products_class USING btree (product_id, price02) WHERE (del_flg = 0) |
+| dtb_products_class_stock_key | CREATE INDEX dtb_products_class_stock_key ON public.dtb_products_class USING btree (product_id, stock) WHERE (del_flg = 0) |
+| dtb_products_class_stock_unlimited_key | CREATE INDEX dtb_products_class_stock_unlimited_key ON public.dtb_products_class USING btree (product_id, stock_unlimited) WHERE (del_flg = 0) |
+| dtb_products_class_point_rate_key | CREATE INDEX dtb_products_class_point_rate_key ON public.dtb_products_class USING btree (product_id, point_rate) WHERE (del_flg = 0) |
+| dtb_products_class_deliv_fee_key | CREATE INDEX dtb_products_class_deliv_fee_key ON public.dtb_products_class USING btree (product_id, deliv_fee) WHERE (del_flg = 0) |
+
+## Relations
+
+![er](public.dtb_products_class.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_products_class.svg b/docs/database-schema/public.dtb_products_class.svg
new file mode 100644
index 0000000000..727a487dcb
--- /dev/null
+++ b/docs/database-schema/public.dtb_products_class.svg
@@ -0,0 +1,646 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_recommend_products.md b/docs/database-schema/public.dtb_recommend_products.md
new file mode 100644
index 0000000000..d2d4bc06a6
--- /dev/null
+++ b/docs/database-schema/public.dtb_recommend_products.md
@@ -0,0 +1,38 @@
+# public.dtb_recommend_products
+
+## Description
+
+関連商品情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| recommend_product_id | integer | | false | | | 関連商品ID |
+| rank | integer | | false | | | 表示順 |
+| comment | text | | true | | | コメント |
+| status | smallint | 0 | false | | | 状態 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_recommend_products_pkey | PRIMARY KEY | PRIMARY KEY (product_id, recommend_product_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_recommend_products_pkey | CREATE UNIQUE INDEX dtb_recommend_products_pkey ON public.dtb_recommend_products USING btree (product_id, recommend_product_id) |
+
+## Relations
+
+![er](public.dtb_recommend_products.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_recommend_products.svg b/docs/database-schema/public.dtb_recommend_products.svg
new file mode 100644
index 0000000000..35cb51e4f7
--- /dev/null
+++ b/docs/database-schema/public.dtb_recommend_products.svg
@@ -0,0 +1,326 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_review.md b/docs/database-schema/public.dtb_review.md
new file mode 100644
index 0000000000..b34f64fd41
--- /dev/null
+++ b/docs/database-schema/public.dtb_review.md
@@ -0,0 +1,44 @@
+# public.dtb_review
+
+## Description
+
+レビュー情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| review_id | integer | | false | | | レビューID |
+| product_id | integer | | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| reviewer_name | text | | false | | | レビューア名 |
+| reviewer_url | text | | true | | | レビューアURL |
+| sex | smallint | | true | | | 性別 |
+| customer_id | integer | | true | | [public.dtb_customer](public.dtb_customer.md) | 顧客lID |
+| recommend_level | smallint | | false | | | おすすめレベル |
+| title | text | | false | | | タイトル |
+| comment | text | | false | | | コメント |
+| status | smallint | 2 | true | | | 状態 |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_review_pkey | PRIMARY KEY | PRIMARY KEY (review_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_review_pkey | CREATE UNIQUE INDEX dtb_review_pkey ON public.dtb_review USING btree (review_id) |
+
+## Relations
+
+![er](public.dtb_review.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_review.svg b/docs/database-schema/public.dtb_review.svg
new file mode 100644
index 0000000000..b915615c68
--- /dev/null
+++ b/docs/database-schema/public.dtb_review.svg
@@ -0,0 +1,531 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_send_customer.md b/docs/database-schema/public.dtb_send_customer.md
new file mode 100644
index 0000000000..de4d796ea5
--- /dev/null
+++ b/docs/database-schema/public.dtb_send_customer.md
@@ -0,0 +1,36 @@
+# public.dtb_send_customer
+
+## Description
+
+顧客メール送信履歴
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| customer_id | integer | | false | | [public.dtb_customer](public.dtb_customer.md) | 顧客ID |
+| send_id | integer | | false | | | 送信ID |
+| email | text | | true | | | メールアドレス |
+| name | text | | true | | | 名前 |
+| send_flag | smallint | | true | | | 送信フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_send_customer_pkey | PRIMARY KEY | PRIMARY KEY (send_id, customer_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_send_customer_pkey | CREATE UNIQUE INDEX dtb_send_customer_pkey ON public.dtb_send_customer USING btree (send_id, customer_id) |
+| dtb_send_customer_customer_id_key | CREATE INDEX dtb_send_customer_customer_id_key ON public.dtb_send_customer USING btree (customer_id) |
+
+## Relations
+
+![er](public.dtb_send_customer.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_send_customer.svg b/docs/database-schema/public.dtb_send_customer.svg
new file mode 100644
index 0000000000..39e7234343
--- /dev/null
+++ b/docs/database-schema/public.dtb_send_customer.svg
@@ -0,0 +1,225 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_send_history.md b/docs/database-schema/public.dtb_send_history.md
new file mode 100644
index 0000000000..613a602c66
--- /dev/null
+++ b/docs/database-schema/public.dtb_send_history.md
@@ -0,0 +1,43 @@
+# public.dtb_send_history
+
+## Description
+
+メール送信履歴
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| send_id | integer | | false | | | 送信ID |
+| mail_method | smallint | | true | | | メール送信方法 |
+| subject | text | | true | | | 件名 |
+| body | text | | true | | | 本文 |
+| send_count | integer | | true | | | 送信数 |
+| complete_count | integer | 0 | false | | | 送信完了数 |
+| start_date | timestamp without time zone | | true | | | 送信開始日時 |
+| end_date | timestamp without time zone | | true | | | 送信完了日時 |
+| search_data | text | | true | | | 検索データ |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| creator_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_send_history_pkey | PRIMARY KEY | PRIMARY KEY (send_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_send_history_pkey | CREATE UNIQUE INDEX dtb_send_history_pkey ON public.dtb_send_history USING btree (send_id) |
+
+## Relations
+
+![er](public.dtb_send_history.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_send_history.svg b/docs/database-schema/public.dtb_send_history.svg
new file mode 100644
index 0000000000..075c7acfdf
--- /dev/null
+++ b/docs/database-schema/public.dtb_send_history.svg
@@ -0,0 +1,149 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_session.md b/docs/database-schema/public.dtb_session.md
new file mode 100644
index 0000000000..6924fef3fe
--- /dev/null
+++ b/docs/database-schema/public.dtb_session.md
@@ -0,0 +1,35 @@
+# public.dtb_session
+
+## Description
+
+セッション情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| sess_id | text | | false | | | セッションID |
+| sess_data | text | | true | | | セッションデータ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_session_pkey | PRIMARY KEY | PRIMARY KEY (sess_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_session_pkey | CREATE UNIQUE INDEX dtb_session_pkey ON public.dtb_session USING btree (sess_id) |
+| dtb_session_update_date_key | CREATE INDEX dtb_session_update_date_key ON public.dtb_session USING btree (update_date) |
+
+## Relations
+
+![er](public.dtb_session.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_session.svg b/docs/database-schema/public.dtb_session.svg
new file mode 100644
index 0000000000..a11e9c3d83
--- /dev/null
+++ b/docs/database-schema/public.dtb_session.svg
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_shipment_item.md b/docs/database-schema/public.dtb_shipment_item.md
new file mode 100644
index 0000000000..7e9bd59ab5
--- /dev/null
+++ b/docs/database-schema/public.dtb_shipment_item.md
@@ -0,0 +1,39 @@
+# public.dtb_shipment_item
+
+## Description
+
+配送商品情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| shipping_id | integer | | false | | [public.dtb_shipping](public.dtb_shipping.md) | 配送先ID |
+| product_class_id | integer | | false | | [public.dtb_products_class](public.dtb_products_class.md) | 商品規格ID |
+| order_id | integer | | false | | [public.dtb_order](public.dtb_order.md) | 受注ID |
+| product_name | text | | false | | | 商品名 |
+| product_code | text | | true | | | 商品コード |
+| classcategory_name1 | text | | true | | | 商品規格名1 |
+| classcategory_name2 | text | | true | | | 商品規格名2 |
+| price | numeric | | true | | | 価格 |
+| quantity | numeric | | true | | | 個数 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_shipment_item_pkey | PRIMARY KEY | PRIMARY KEY (order_id, shipping_id, product_class_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_shipment_item_pkey | CREATE UNIQUE INDEX dtb_shipment_item_pkey ON public.dtb_shipment_item USING btree (order_id, shipping_id, product_class_id) |
+
+## Relations
+
+![er](public.dtb_shipment_item.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_shipment_item.svg b/docs/database-schema/public.dtb_shipment_item.svg
new file mode 100644
index 0000000000..663a96abd1
--- /dev/null
+++ b/docs/database-schema/public.dtb_shipment_item.svg
@@ -0,0 +1,527 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_shipping.md b/docs/database-schema/public.dtb_shipping.md
new file mode 100644
index 0000000000..518f1ed81a
--- /dev/null
+++ b/docs/database-schema/public.dtb_shipping.md
@@ -0,0 +1,58 @@
+# public.dtb_shipping
+
+## Description
+
+配送先情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| shipping_id | integer | | false | [public.dtb_shipment_item](public.dtb_shipment_item.md) | | 配送先ID |
+| order_id | integer | | false | | [public.dtb_order](public.dtb_order.md) | 受注ID |
+| shipping_name01 | text | | true | | | 配送先名前(姓) |
+| shipping_name02 | text | | true | | | 配送先名前(名) |
+| shipping_kana01 | text | | true | | | 配送先カナ(姓) |
+| shipping_kana02 | text | | true | | | 配送先カナ(名) |
+| shipping_company_name | text | | true | | | 【2.13】配送先会社名 |
+| shipping_tel01 | text | | true | | | 配送先電話番号(市外局番) |
+| shipping_tel02 | text | | true | | | 配送先電話番号(市内局番) |
+| shipping_tel03 | text | | true | | | 配送先電話番号(局番) |
+| shipping_fax01 | text | | true | | | 配送先FAX(市外局番) |
+| shipping_fax02 | text | | true | | | 配送先FAX(市内局番) |
+| shipping_fax03 | text | | true | | | 配送先FAX(局番) |
+| shipping_country_id | integer | | true | | [public.mtb_country](public.mtb_country.md) | 【2.13】配送先国ID |
+| shipping_pref | smallint | | true | | [public.mtb_pref](public.mtb_pref.md) | 都道府県ID |
+| shipping_zip01 | text | | true | | | 配送先郵便番号(3桁) |
+| shipping_zip02 | text | | true | | | 配送先郵便番号(4桁) |
+| shipping_zipcode | text | | true | | | 【2.13】配送先郵便番号(海外対応) |
+| shipping_addr01 | text | | true | | | 配送先住所1 |
+| shipping_addr02 | text | | true | | | 配送先住所2 |
+| time_id | integer | | true | | [public.dtb_delivtime](public.dtb_delivtime.md) | 配送時間ID |
+| shipping_time | text | | true | | | 配送時間 |
+| shipping_date | timestamp without time zone | | true | | | 配達予定日 |
+| shipping_commit_date | timestamp without time zone | | true | | | 発送日時 |
+| rank | integer | | true | | | 表示順 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_shipping_pkey | PRIMARY KEY | PRIMARY KEY (order_id, shipping_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_shipping_pkey | CREATE UNIQUE INDEX dtb_shipping_pkey ON public.dtb_shipping USING btree (order_id, shipping_id) |
+
+## Relations
+
+![er](public.dtb_shipping.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_shipping.svg b/docs/database-schema/public.dtb_shipping.svg
new file mode 100644
index 0000000000..38cf0cb7ac
--- /dev/null
+++ b/docs/database-schema/public.dtb_shipping.svg
@@ -0,0 +1,521 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_tax_rule.md b/docs/database-schema/public.dtb_tax_rule.md
new file mode 100644
index 0000000000..28c3e350fe
--- /dev/null
+++ b/docs/database-schema/public.dtb_tax_rule.md
@@ -0,0 +1,43 @@
+# public.dtb_tax_rule
+
+## Description
+
+【2.13】消費税ルール
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| tax_rule_id | integer | | false | | | 税率ID |
+| country_id | integer | 0 | false | | [public.mtb_country](public.mtb_country.md) | 国ID |
+| pref_id | integer | 0 | false | | [public.mtb_pref](public.mtb_pref.md) | 地域ID |
+| product_id | integer | 0 | false | | [public.dtb_products](public.dtb_products.md) | 商品ID |
+| product_class_id | integer | 0 | false | | [public.dtb_products_class](public.dtb_products_class.md) | 商品規格ID |
+| calc_rule | smallint | 1 | false | | [public.mtb_taxrule](public.mtb_taxrule.md) | 課税規則(四捨五入、切り上げ、切り捨て) |
+| tax_rate | numeric | 8 | false | | | 消費税率 |
+| tax_adjust | numeric | 0 | false | | | 固定金額 |
+| apply_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 適用日 |
+| member_id | integer | | false | | [public.dtb_member](public.dtb_member.md) | 作成者ID |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_tax_rule_pkey | PRIMARY KEY | PRIMARY KEY (tax_rule_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_tax_rule_pkey | CREATE UNIQUE INDEX dtb_tax_rule_pkey ON public.dtb_tax_rule USING btree (tax_rule_id) |
+
+## Relations
+
+![er](public.dtb_tax_rule.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_tax_rule.svg b/docs/database-schema/public.dtb_tax_rule.svg
new file mode 100644
index 0000000000..156a341b89
--- /dev/null
+++ b/docs/database-schema/public.dtb_tax_rule.svg
@@ -0,0 +1,526 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_templates.md b/docs/database-schema/public.dtb_templates.md
new file mode 100644
index 0000000000..72b9ffa9de
--- /dev/null
+++ b/docs/database-schema/public.dtb_templates.md
@@ -0,0 +1,35 @@
+# public.dtb_templates
+
+## Description
+
+テンプレート情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| template_code | text | | false | | | テンプレートコード |
+| device_type_id | integer | | false | | [public.mtb_device_type](public.mtb_device_type.md) | 端末種別ID |
+| template_name | text | | true | | | テンプレート名 |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_templates_pkey | PRIMARY KEY | PRIMARY KEY (template_code) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_templates_pkey | CREATE UNIQUE INDEX dtb_templates_pkey ON public.dtb_templates USING btree (template_code) |
+
+## Relations
+
+![er](public.dtb_templates.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_templates.svg b/docs/database-schema/public.dtb_templates.svg
new file mode 100644
index 0000000000..f9e901c7f1
--- /dev/null
+++ b/docs/database-schema/public.dtb_templates.svg
@@ -0,0 +1,73 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.dtb_update.md b/docs/database-schema/public.dtb_update.md
new file mode 100644
index 0000000000..39f13eb47b
--- /dev/null
+++ b/docs/database-schema/public.dtb_update.md
@@ -0,0 +1,44 @@
+# public.dtb_update
+
+## Description
+
+モジュール更新情報
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| module_id | integer | | false | | [public.dtb_module](public.dtb_module.md) | モジュールID |
+| module_name | text | | false | | | モジュール名 |
+| now_version | text | | true | | | インストールバージョン |
+| latest_version | text | | false | | | 最新バージョン |
+| module_explain | text | | true | | | 機能説明 |
+| main_php | text | | false | | | 更新対象パス |
+| extern_php | text | | false | | | 拡張対象パス |
+| install_sql | text | | true | | | インストールSQL |
+| uninstall_sql | text | | true | | | アンインストールSQL |
+| other_files | text | | true | | | その他拡張ファイル名 |
+| del_flg | smallint | 0 | false | | | 削除フラグ |
+| create_date | timestamp without time zone | CURRENT_TIMESTAMP | false | | | 作成日時 |
+| update_date | timestamp without time zone | | false | | | 更新日時 |
+| release_date | timestamp without time zone | | false | | | リリース日時 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| dtb_update_pkey | PRIMARY KEY | PRIMARY KEY (module_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| dtb_update_pkey | CREATE UNIQUE INDEX dtb_update_pkey ON public.dtb_update USING btree (module_id) |
+
+## Relations
+
+![er](public.dtb_update.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.dtb_update.svg b/docs/database-schema/public.dtb_update.svg
new file mode 100644
index 0000000000..952703069c
--- /dev/null
+++ b/docs/database-schema/public.dtb_update.svg
@@ -0,0 +1,129 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_allowed_tag.md b/docs/database-schema/public.mtb_allowed_tag.md
new file mode 100644
index 0000000000..47a6d06bbc
--- /dev/null
+++ b/docs/database-schema/public.mtb_allowed_tag.md
@@ -0,0 +1,33 @@
+# public.mtb_allowed_tag
+
+## Description
+
+許可タグ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_allowed_tag_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_allowed_tag_pkey | CREATE UNIQUE INDEX mtb_allowed_tag_pkey ON public.mtb_allowed_tag USING btree (id) |
+
+## Relations
+
+![er](public.mtb_allowed_tag.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_allowed_tag.svg b/docs/database-schema/public.mtb_allowed_tag.svg
new file mode 100644
index 0000000000..027374d9fc
--- /dev/null
+++ b/docs/database-schema/public.mtb_allowed_tag.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_auth_excludes.md b/docs/database-schema/public.mtb_auth_excludes.md
new file mode 100644
index 0000000000..d813eb21f0
--- /dev/null
+++ b/docs/database-schema/public.mtb_auth_excludes.md
@@ -0,0 +1,33 @@
+# public.mtb_auth_excludes
+
+## Description
+
+管理画面認証除外
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_auth_excludes_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_auth_excludes_pkey | CREATE UNIQUE INDEX mtb_auth_excludes_pkey ON public.mtb_auth_excludes USING btree (id) |
+
+## Relations
+
+![er](public.mtb_auth_excludes.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_auth_excludes.svg b/docs/database-schema/public.mtb_auth_excludes.svg
new file mode 100644
index 0000000000..4b8d212ccf
--- /dev/null
+++ b/docs/database-schema/public.mtb_auth_excludes.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_authority.md b/docs/database-schema/public.mtb_authority.md
new file mode 100644
index 0000000000..03d14036db
--- /dev/null
+++ b/docs/database-schema/public.mtb_authority.md
@@ -0,0 +1,33 @@
+# public.mtb_authority
+
+## Description
+
+管理者マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_authority_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_authority_pkey | CREATE UNIQUE INDEX mtb_authority_pkey ON public.mtb_authority USING btree (id) |
+
+## Relations
+
+![er](public.mtb_authority.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_authority.svg b/docs/database-schema/public.mtb_authority.svg
new file mode 100644
index 0000000000..f39cf645b4
--- /dev/null
+++ b/docs/database-schema/public.mtb_authority.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_constants.md b/docs/database-schema/public.mtb_constants.md
new file mode 100644
index 0000000000..3c34369dc7
--- /dev/null
+++ b/docs/database-schema/public.mtb_constants.md
@@ -0,0 +1,34 @@
+# public.mtb_constants
+
+## Description
+
+定数マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | text | | false | | | ID |
+| name | text | | true | | | 定数名 |
+| rank | smallint | 0 | false | | | 表示順 |
+| remarks | text | | true | | | 定数コメント |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_constants_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_constants_pkey | CREATE UNIQUE INDEX mtb_constants_pkey ON public.mtb_constants USING btree (id) |
+
+## Relations
+
+![er](public.mtb_constants.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_constants.svg b/docs/database-schema/public.mtb_constants.svg
new file mode 100644
index 0000000000..ac30a03bad
--- /dev/null
+++ b/docs/database-schema/public.mtb_constants.svg
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_country.md b/docs/database-schema/public.mtb_country.md
new file mode 100644
index 0000000000..ddfdc34af2
--- /dev/null
+++ b/docs/database-schema/public.mtb_country.md
@@ -0,0 +1,33 @@
+# public.mtb_country
+
+## Description
+
+【2.13】国マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | integer | | false | [public.dtb_baseinfo](public.dtb_baseinfo.md) [public.dtb_customer](public.dtb_customer.md) [public.dtb_other_deliv](public.dtb_other_deliv.md) [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_shipping](public.dtb_shipping.md) [public.dtb_tax_rule](public.dtb_tax_rule.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | integer | | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_country_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_country_pkey | CREATE UNIQUE INDEX mtb_country_pkey ON public.mtb_country USING btree (id) |
+
+## Relations
+
+![er](public.mtb_country.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_country.svg b/docs/database-schema/public.mtb_country.svg
new file mode 100644
index 0000000000..ccc084a430
--- /dev/null
+++ b/docs/database-schema/public.mtb_country.svg
@@ -0,0 +1,1298 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_customer_order_status.md b/docs/database-schema/public.mtb_customer_order_status.md
new file mode 100644
index 0000000000..cd38a535b1
--- /dev/null
+++ b/docs/database-schema/public.mtb_customer_order_status.md
@@ -0,0 +1,33 @@
+# public.mtb_customer_order_status
+
+## Description
+
+顧客表示用受注ステータス
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_customer_order_status_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_customer_order_status_pkey | CREATE UNIQUE INDEX mtb_customer_order_status_pkey ON public.mtb_customer_order_status USING btree (id) |
+
+## Relations
+
+![er](public.mtb_customer_order_status.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_customer_order_status.svg b/docs/database-schema/public.mtb_customer_order_status.svg
new file mode 100644
index 0000000000..3684e6a989
--- /dev/null
+++ b/docs/database-schema/public.mtb_customer_order_status.svg
@@ -0,0 +1,534 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_customer_status.md b/docs/database-schema/public.mtb_customer_status.md
new file mode 100644
index 0000000000..541f8b080e
--- /dev/null
+++ b/docs/database-schema/public.mtb_customer_status.md
@@ -0,0 +1,33 @@
+# public.mtb_customer_status
+
+## Description
+
+顧客ステータス
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_customer](public.dtb_customer.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_customer_status_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_customer_status_pkey | CREATE UNIQUE INDEX mtb_customer_status_pkey ON public.mtb_customer_status USING btree (id) |
+
+## Relations
+
+![er](public.mtb_customer_status.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_customer_status.svg b/docs/database-schema/public.mtb_customer_status.svg
new file mode 100644
index 0000000000..28b75a497d
--- /dev/null
+++ b/docs/database-schema/public.mtb_customer_status.svg
@@ -0,0 +1,217 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_db.md b/docs/database-schema/public.mtb_db.md
new file mode 100644
index 0000000000..f1b625f0b3
--- /dev/null
+++ b/docs/database-schema/public.mtb_db.md
@@ -0,0 +1,33 @@
+# public.mtb_db
+
+## Description
+
+データベース種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_db_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_db_pkey | CREATE UNIQUE INDEX mtb_db_pkey ON public.mtb_db USING btree (id) |
+
+## Relations
+
+![er](public.mtb_db.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_db.svg b/docs/database-schema/public.mtb_db.svg
new file mode 100644
index 0000000000..79d27945f3
--- /dev/null
+++ b/docs/database-schema/public.mtb_db.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_delivery_date.md b/docs/database-schema/public.mtb_delivery_date.md
new file mode 100644
index 0000000000..e8a2afcd16
--- /dev/null
+++ b/docs/database-schema/public.mtb_delivery_date.md
@@ -0,0 +1,33 @@
+# public.mtb_delivery_date
+
+## Description
+
+商品発送日
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_products](public.dtb_products.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_delivery_date_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_delivery_date_pkey | CREATE UNIQUE INDEX mtb_delivery_date_pkey ON public.mtb_delivery_date USING btree (id) |
+
+## Relations
+
+![er](public.mtb_delivery_date.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_delivery_date.svg b/docs/database-schema/public.mtb_delivery_date.svg
new file mode 100644
index 0000000000..c2b37c4fe9
--- /dev/null
+++ b/docs/database-schema/public.mtb_delivery_date.svg
@@ -0,0 +1,233 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_device_type.md b/docs/database-schema/public.mtb_device_type.md
new file mode 100644
index 0000000000..74c6bd795b
--- /dev/null
+++ b/docs/database-schema/public.mtb_device_type.md
@@ -0,0 +1,33 @@
+# public.mtb_device_type
+
+## Description
+
+端末種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_pagelayout](public.dtb_pagelayout.md) [public.dtb_bloc](public.dtb_bloc.md) [public.dtb_blocposition](public.dtb_blocposition.md) [public.dtb_templates](public.dtb_templates.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_device_type_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_device_type_pkey | CREATE UNIQUE INDEX mtb_device_type_pkey ON public.mtb_device_type USING btree (id) |
+
+## Relations
+
+![er](public.mtb_device_type.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_device_type.svg b/docs/database-schema/public.mtb_device_type.svg
new file mode 100644
index 0000000000..563c126ddf
--- /dev/null
+++ b/docs/database-schema/public.mtb_device_type.svg
@@ -0,0 +1,746 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_disable_logout.md b/docs/database-schema/public.mtb_disable_logout.md
new file mode 100644
index 0000000000..bd4112967e
--- /dev/null
+++ b/docs/database-schema/public.mtb_disable_logout.md
@@ -0,0 +1,33 @@
+# public.mtb_disable_logout
+
+## Description
+
+ログアウト無効ページ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_disable_logout_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_disable_logout_pkey | CREATE UNIQUE INDEX mtb_disable_logout_pkey ON public.mtb_disable_logout USING btree (id) |
+
+## Relations
+
+![er](public.mtb_disable_logout.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_disable_logout.svg b/docs/database-schema/public.mtb_disable_logout.svg
new file mode 100644
index 0000000000..8b29982721
--- /dev/null
+++ b/docs/database-schema/public.mtb_disable_logout.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_disp.md b/docs/database-schema/public.mtb_disp.md
new file mode 100644
index 0000000000..b9ee15fc5f
--- /dev/null
+++ b/docs/database-schema/public.mtb_disp.md
@@ -0,0 +1,33 @@
+# public.mtb_disp
+
+## Description
+
+公開フラグ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_products](public.dtb_products.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_disp_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_disp_pkey | CREATE UNIQUE INDEX mtb_disp_pkey ON public.mtb_disp USING btree (id) |
+
+## Relations
+
+![er](public.mtb_disp.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_disp.svg b/docs/database-schema/public.mtb_disp.svg
new file mode 100644
index 0000000000..f90e4081ef
--- /dev/null
+++ b/docs/database-schema/public.mtb_disp.svg
@@ -0,0 +1,233 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_job.md b/docs/database-schema/public.mtb_job.md
new file mode 100644
index 0000000000..13d6362b12
--- /dev/null
+++ b/docs/database-schema/public.mtb_job.md
@@ -0,0 +1,33 @@
+# public.mtb_job
+
+## Description
+
+職業マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_customer](public.dtb_customer.md) [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_job_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_job_pkey | CREATE UNIQUE INDEX mtb_job_pkey ON public.mtb_job USING btree (id) |
+
+## Relations
+
+![er](public.mtb_job.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_job.svg b/docs/database-schema/public.mtb_job.svg
new file mode 100644
index 0000000000..a85f57d4a3
--- /dev/null
+++ b/docs/database-schema/public.mtb_job.svg
@@ -0,0 +1,715 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_magazine_type.md b/docs/database-schema/public.mtb_magazine_type.md
new file mode 100644
index 0000000000..9bcbbe1c8c
--- /dev/null
+++ b/docs/database-schema/public.mtb_magazine_type.md
@@ -0,0 +1,33 @@
+# public.mtb_magazine_type
+
+## Description
+
+メルマガ種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_magazine_type_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_magazine_type_pkey | CREATE UNIQUE INDEX mtb_magazine_type_pkey ON public.mtb_magazine_type USING btree (id) |
+
+## Relations
+
+![er](public.mtb_magazine_type.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_magazine_type.svg b/docs/database-schema/public.mtb_magazine_type.svg
new file mode 100644
index 0000000000..caed4cfb4b
--- /dev/null
+++ b/docs/database-schema/public.mtb_magazine_type.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_mail_magazine_type.md b/docs/database-schema/public.mtb_mail_magazine_type.md
new file mode 100644
index 0000000000..101a6725c7
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_magazine_type.md
@@ -0,0 +1,33 @@
+# public.mtb_mail_magazine_type
+
+## Description
+
+メールマガジン種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_customer](public.dtb_customer.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_mail_magazine_type_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_mail_magazine_type_pkey | CREATE UNIQUE INDEX mtb_mail_magazine_type_pkey ON public.mtb_mail_magazine_type USING btree (id) |
+
+## Relations
+
+![er](public.mtb_mail_magazine_type.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_mail_magazine_type.svg b/docs/database-schema/public.mtb_mail_magazine_type.svg
new file mode 100644
index 0000000000..f72f9eb8e1
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_magazine_type.svg
@@ -0,0 +1,217 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_mail_template.md b/docs/database-schema/public.mtb_mail_template.md
new file mode 100644
index 0000000000..0220730650
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_template.md
@@ -0,0 +1,33 @@
+# public.mtb_mail_template
+
+## Description
+
+メールテンプレート
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_mail_template_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_mail_template_pkey | CREATE UNIQUE INDEX mtb_mail_template_pkey ON public.mtb_mail_template USING btree (id) |
+
+## Relations
+
+![er](public.mtb_mail_template.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_mail_template.svg b/docs/database-schema/public.mtb_mail_template.svg
new file mode 100644
index 0000000000..415eb468de
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_template.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_mail_tpl_path.md b/docs/database-schema/public.mtb_mail_tpl_path.md
new file mode 100644
index 0000000000..18b9f0e39d
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_tpl_path.md
@@ -0,0 +1,33 @@
+# public.mtb_mail_tpl_path
+
+## Description
+
+メールテンプレートパス
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_mail_tpl_path_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_mail_tpl_path_pkey | CREATE UNIQUE INDEX mtb_mail_tpl_path_pkey ON public.mtb_mail_tpl_path USING btree (id) |
+
+## Relations
+
+![er](public.mtb_mail_tpl_path.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_mail_tpl_path.svg b/docs/database-schema/public.mtb_mail_tpl_path.svg
new file mode 100644
index 0000000000..3f27bdfa9f
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_tpl_path.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_mail_type.md b/docs/database-schema/public.mtb_mail_type.md
new file mode 100644
index 0000000000..6c6fef1958
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_type.md
@@ -0,0 +1,33 @@
+# public.mtb_mail_type
+
+## Description
+
+メール種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_mail_type_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_mail_type_pkey | CREATE UNIQUE INDEX mtb_mail_type_pkey ON public.mtb_mail_type USING btree (id) |
+
+## Relations
+
+![er](public.mtb_mail_type.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_mail_type.svg b/docs/database-schema/public.mtb_mail_type.svg
new file mode 100644
index 0000000000..b978c013aa
--- /dev/null
+++ b/docs/database-schema/public.mtb_mail_type.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_mobile_domain.md b/docs/database-schema/public.mtb_mobile_domain.md
new file mode 100644
index 0000000000..05f8eaff6a
--- /dev/null
+++ b/docs/database-schema/public.mtb_mobile_domain.md
@@ -0,0 +1,33 @@
+# public.mtb_mobile_domain
+
+## Description
+
+モバイルドメイン名
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_mobile_domain_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_mobile_domain_pkey | CREATE UNIQUE INDEX mtb_mobile_domain_pkey ON public.mtb_mobile_domain USING btree (id) |
+
+## Relations
+
+![er](public.mtb_mobile_domain.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_mobile_domain.svg b/docs/database-schema/public.mtb_mobile_domain.svg
new file mode 100644
index 0000000000..67d2649390
--- /dev/null
+++ b/docs/database-schema/public.mtb_mobile_domain.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_order_status.md b/docs/database-schema/public.mtb_order_status.md
new file mode 100644
index 0000000000..b31a190a91
--- /dev/null
+++ b/docs/database-schema/public.mtb_order_status.md
@@ -0,0 +1,33 @@
+# public.mtb_order_status
+
+## Description
+
+受注状態
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_order_status_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_order_status_pkey | CREATE UNIQUE INDEX mtb_order_status_pkey ON public.mtb_order_status USING btree (id) |
+
+## Relations
+
+![er](public.mtb_order_status.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_order_status.svg b/docs/database-schema/public.mtb_order_status.svg
new file mode 100644
index 0000000000..efd0205b2d
--- /dev/null
+++ b/docs/database-schema/public.mtb_order_status.svg
@@ -0,0 +1,534 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_order_status_color.md b/docs/database-schema/public.mtb_order_status_color.md
new file mode 100644
index 0000000000..c35a179af6
--- /dev/null
+++ b/docs/database-schema/public.mtb_order_status_color.md
@@ -0,0 +1,33 @@
+# public.mtb_order_status_color
+
+## Description
+
+受注ステータス色
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_order_status_color_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_order_status_color_pkey | CREATE UNIQUE INDEX mtb_order_status_color_pkey ON public.mtb_order_status_color USING btree (id) |
+
+## Relations
+
+![er](public.mtb_order_status_color.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_order_status_color.svg b/docs/database-schema/public.mtb_order_status_color.svg
new file mode 100644
index 0000000000..bcc39fd0a3
--- /dev/null
+++ b/docs/database-schema/public.mtb_order_status_color.svg
@@ -0,0 +1,534 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_ownersstore_err.md b/docs/database-schema/public.mtb_ownersstore_err.md
new file mode 100644
index 0000000000..68725139a8
--- /dev/null
+++ b/docs/database-schema/public.mtb_ownersstore_err.md
@@ -0,0 +1,33 @@
+# public.mtb_ownersstore_err
+
+## Description
+
+オーナーズストアエラー種別
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_ownersstore_err_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_ownersstore_err_pkey | CREATE UNIQUE INDEX mtb_ownersstore_err_pkey ON public.mtb_ownersstore_err USING btree (id) |
+
+## Relations
+
+![er](public.mtb_ownersstore_err.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_ownersstore_err.svg b/docs/database-schema/public.mtb_ownersstore_err.svg
new file mode 100644
index 0000000000..57656281a5
--- /dev/null
+++ b/docs/database-schema/public.mtb_ownersstore_err.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_page_max.md b/docs/database-schema/public.mtb_page_max.md
new file mode 100644
index 0000000000..dd6f368986
--- /dev/null
+++ b/docs/database-schema/public.mtb_page_max.md
@@ -0,0 +1,33 @@
+# public.mtb_page_max
+
+## Description
+
+ページ最大表示数
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_page_max_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_page_max_pkey | CREATE UNIQUE INDEX mtb_page_max_pkey ON public.mtb_page_max USING btree (id) |
+
+## Relations
+
+![er](public.mtb_page_max.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_page_max.svg b/docs/database-schema/public.mtb_page_max.svg
new file mode 100644
index 0000000000..b05c53e861
--- /dev/null
+++ b/docs/database-schema/public.mtb_page_max.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_permission.md b/docs/database-schema/public.mtb_permission.md
new file mode 100644
index 0000000000..4ef3476596
--- /dev/null
+++ b/docs/database-schema/public.mtb_permission.md
@@ -0,0 +1,33 @@
+# public.mtb_permission
+
+## Description
+
+管理画面アクセス権限
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | text | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_permission_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_permission_pkey | CREATE UNIQUE INDEX mtb_permission_pkey ON public.mtb_permission USING btree (id) |
+
+## Relations
+
+![er](public.mtb_permission.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_permission.svg b/docs/database-schema/public.mtb_permission.svg
new file mode 100644
index 0000000000..f23db73c27
--- /dev/null
+++ b/docs/database-schema/public.mtb_permission.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_pref.md b/docs/database-schema/public.mtb_pref.md
new file mode 100644
index 0000000000..6459893479
--- /dev/null
+++ b/docs/database-schema/public.mtb_pref.md
@@ -0,0 +1,33 @@
+# public.mtb_pref
+
+## Description
+
+都道府県マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_baseinfo](public.dtb_baseinfo.md) [public.dtb_customer](public.dtb_customer.md) [public.dtb_other_deliv](public.dtb_other_deliv.md) [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) [public.dtb_shipping](public.dtb_shipping.md) [public.dtb_delivfee](public.dtb_delivfee.md) [public.dtb_tax_rule](public.dtb_tax_rule.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_pref_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_pref_pkey | CREATE UNIQUE INDEX mtb_pref_pkey ON public.mtb_pref USING btree (id) |
+
+## Relations
+
+![er](public.mtb_pref.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_pref.svg b/docs/database-schema/public.mtb_pref.svg
new file mode 100644
index 0000000000..f982c9fe1e
--- /dev/null
+++ b/docs/database-schema/public.mtb_pref.svg
@@ -0,0 +1,1324 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_product_list_max.md b/docs/database-schema/public.mtb_product_list_max.md
new file mode 100644
index 0000000000..c898791640
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_list_max.md
@@ -0,0 +1,33 @@
+# public.mtb_product_list_max
+
+## Description
+
+商品一覧最大表示数
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_product_list_max_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_product_list_max_pkey | CREATE UNIQUE INDEX mtb_product_list_max_pkey ON public.mtb_product_list_max USING btree (id) |
+
+## Relations
+
+![er](public.mtb_product_list_max.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_product_list_max.svg b/docs/database-schema/public.mtb_product_list_max.svg
new file mode 100644
index 0000000000..c54088510b
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_list_max.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_product_status_color.md b/docs/database-schema/public.mtb_product_status_color.md
new file mode 100644
index 0000000000..6e96b79b9f
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_status_color.md
@@ -0,0 +1,33 @@
+# public.mtb_product_status_color
+
+## Description
+
+商品ステータス色
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_product_status_color_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_product_status_color_pkey | CREATE UNIQUE INDEX mtb_product_status_color_pkey ON public.mtb_product_status_color USING btree (id) |
+
+## Relations
+
+![er](public.mtb_product_status_color.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_product_status_color.svg b/docs/database-schema/public.mtb_product_status_color.svg
new file mode 100644
index 0000000000..03c404c58d
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_status_color.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_product_type.md b/docs/database-schema/public.mtb_product_type.md
new file mode 100644
index 0000000000..49b2caa014
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_type.md
@@ -0,0 +1,33 @@
+# public.mtb_product_type
+
+## Description
+
+商品種別マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_products_class](public.dtb_products_class.md) [public.dtb_deliv](public.dtb_deliv.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_product_type_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_product_type_pkey | CREATE UNIQUE INDEX mtb_product_type_pkey ON public.mtb_product_type USING btree (id) |
+
+## Relations
+
+![er](public.mtb_product_type.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_product_type.svg b/docs/database-schema/public.mtb_product_type.svg
new file mode 100644
index 0000000000..974beb1f36
--- /dev/null
+++ b/docs/database-schema/public.mtb_product_type.svg
@@ -0,0 +1,194 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_recommend.md b/docs/database-schema/public.mtb_recommend.md
new file mode 100644
index 0000000000..fbbdf2a05a
--- /dev/null
+++ b/docs/database-schema/public.mtb_recommend.md
@@ -0,0 +1,33 @@
+# public.mtb_recommend
+
+## Description
+
+おすすめレベル
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_recommend_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_recommend_pkey | CREATE UNIQUE INDEX mtb_recommend_pkey ON public.mtb_recommend USING btree (id) |
+
+## Relations
+
+![er](public.mtb_recommend.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_recommend.svg b/docs/database-schema/public.mtb_recommend.svg
new file mode 100644
index 0000000000..f878bd4816
--- /dev/null
+++ b/docs/database-schema/public.mtb_recommend.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_reminder.md b/docs/database-schema/public.mtb_reminder.md
new file mode 100644
index 0000000000..56af76c10e
--- /dev/null
+++ b/docs/database-schema/public.mtb_reminder.md
@@ -0,0 +1,33 @@
+# public.mtb_reminder
+
+## Description
+
+パスワード質問マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_customer](public.dtb_customer.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_reminder_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_reminder_pkey | CREATE UNIQUE INDEX mtb_reminder_pkey ON public.mtb_reminder USING btree (id) |
+
+## Relations
+
+![er](public.mtb_reminder.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_reminder.svg b/docs/database-schema/public.mtb_reminder.svg
new file mode 100644
index 0000000000..b62e70f965
--- /dev/null
+++ b/docs/database-schema/public.mtb_reminder.svg
@@ -0,0 +1,217 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_review_deny_url.md b/docs/database-schema/public.mtb_review_deny_url.md
new file mode 100644
index 0000000000..46cdb5cc3b
--- /dev/null
+++ b/docs/database-schema/public.mtb_review_deny_url.md
@@ -0,0 +1,33 @@
+# public.mtb_review_deny_url
+
+## Description
+
+レビュー拒否URL
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_review_deny_url_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_review_deny_url_pkey | CREATE UNIQUE INDEX mtb_review_deny_url_pkey ON public.mtb_review_deny_url USING btree (id) |
+
+## Relations
+
+![er](public.mtb_review_deny_url.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_review_deny_url.svg b/docs/database-schema/public.mtb_review_deny_url.svg
new file mode 100644
index 0000000000..e2333609cb
--- /dev/null
+++ b/docs/database-schema/public.mtb_review_deny_url.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_sex.md b/docs/database-schema/public.mtb_sex.md
new file mode 100644
index 0000000000..d873ba4a53
--- /dev/null
+++ b/docs/database-schema/public.mtb_sex.md
@@ -0,0 +1,33 @@
+# public.mtb_sex
+
+## Description
+
+性別マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_customer](public.dtb_customer.md) [public.dtb_order](public.dtb_order.md) [public.dtb_order_temp](public.dtb_order_temp.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_sex_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_sex_pkey | CREATE UNIQUE INDEX mtb_sex_pkey ON public.mtb_sex USING btree (id) |
+
+## Relations
+
+![er](public.mtb_sex.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_sex.svg b/docs/database-schema/public.mtb_sex.svg
new file mode 100644
index 0000000000..d8597f50c7
--- /dev/null
+++ b/docs/database-schema/public.mtb_sex.svg
@@ -0,0 +1,715 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_status.md b/docs/database-schema/public.mtb_status.md
new file mode 100644
index 0000000000..de0c00f265
--- /dev/null
+++ b/docs/database-schema/public.mtb_status.md
@@ -0,0 +1,33 @@
+# public.mtb_status
+
+## Description
+
+商品ステータス
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_product_status](public.dtb_product_status.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_status_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_status_pkey | CREATE UNIQUE INDEX mtb_status_pkey ON public.mtb_status USING btree (id) |
+
+## Relations
+
+![er](public.mtb_status.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_status.svg b/docs/database-schema/public.mtb_status.svg
new file mode 100644
index 0000000000..a34ed721a5
--- /dev/null
+++ b/docs/database-schema/public.mtb_status.svg
@@ -0,0 +1,77 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_status_image.md b/docs/database-schema/public.mtb_status_image.md
new file mode 100644
index 0000000000..134ad67c6c
--- /dev/null
+++ b/docs/database-schema/public.mtb_status_image.md
@@ -0,0 +1,33 @@
+# public.mtb_status_image
+
+## Description
+
+ステータス画像
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_product_status](public.dtb_product_status.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_status_image_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_status_image_pkey | CREATE UNIQUE INDEX mtb_status_image_pkey ON public.mtb_status_image USING btree (id) |
+
+## Relations
+
+![er](public.mtb_status_image.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_status_image.svg b/docs/database-schema/public.mtb_status_image.svg
new file mode 100644
index 0000000000..c38e2a4591
--- /dev/null
+++ b/docs/database-schema/public.mtb_status_image.svg
@@ -0,0 +1,77 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_target.md b/docs/database-schema/public.mtb_target.md
new file mode 100644
index 0000000000..71c15aed01
--- /dev/null
+++ b/docs/database-schema/public.mtb_target.md
@@ -0,0 +1,33 @@
+# public.mtb_target
+
+## Description
+
+ブロックターゲット
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_blocposition](public.dtb_blocposition.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_target_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_target_pkey | CREATE UNIQUE INDEX mtb_target_pkey ON public.mtb_target USING btree (id) |
+
+## Relations
+
+![er](public.mtb_target.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_target.svg b/docs/database-schema/public.mtb_target.svg
new file mode 100644
index 0000000000..8241aed6e9
--- /dev/null
+++ b/docs/database-schema/public.mtb_target.svg
@@ -0,0 +1,77 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_taxrule.md b/docs/database-schema/public.mtb_taxrule.md
new file mode 100644
index 0000000000..97ef02c273
--- /dev/null
+++ b/docs/database-schema/public.mtb_taxrule.md
@@ -0,0 +1,33 @@
+# public.mtb_taxrule
+
+## Description
+
+課税規則マスタ
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_tax_rule](public.dtb_tax_rule.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_taxrule_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_taxrule_pkey | CREATE UNIQUE INDEX mtb_taxrule_pkey ON public.mtb_taxrule USING btree (id) |
+
+## Relations
+
+![er](public.mtb_taxrule.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_taxrule.svg b/docs/database-schema/public.mtb_taxrule.svg
new file mode 100644
index 0000000000..0ad28d4cb5
--- /dev/null
+++ b/docs/database-schema/public.mtb_taxrule.svg
@@ -0,0 +1,105 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_wday.md b/docs/database-schema/public.mtb_wday.md
new file mode 100644
index 0000000000..554e897530
--- /dev/null
+++ b/docs/database-schema/public.mtb_wday.md
@@ -0,0 +1,33 @@
+# public.mtb_wday
+
+## Description
+
+曜日
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_wday_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_wday_pkey | CREATE UNIQUE INDEX mtb_wday_pkey ON public.mtb_wday USING btree (id) |
+
+## Relations
+
+![er](public.mtb_wday.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_wday.svg b/docs/database-schema/public.mtb_wday.svg
new file mode 100644
index 0000000000..770dabe7f1
--- /dev/null
+++ b/docs/database-schema/public.mtb_wday.svg
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_work.md b/docs/database-schema/public.mtb_work.md
new file mode 100644
index 0000000000..cad9410d19
--- /dev/null
+++ b/docs/database-schema/public.mtb_work.md
@@ -0,0 +1,33 @@
+# public.mtb_work
+
+## Description
+
+稼動状態
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| id | smallint | | false | [public.dtb_member](public.dtb_member.md) | | ID |
+| name | text | | true | | | 名称 |
+| rank | smallint | 0 | false | | | 表示順 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_work_pkey | PRIMARY KEY | PRIMARY KEY (id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_work_pkey | CREATE UNIQUE INDEX mtb_work_pkey ON public.mtb_work USING btree (id) |
+
+## Relations
+
+![er](public.mtb_work.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_work.svg b/docs/database-schema/public.mtb_work.svg
new file mode 100644
index 0000000000..9fb2be5090
--- /dev/null
+++ b/docs/database-schema/public.mtb_work.svg
@@ -0,0 +1,109 @@
+
+
+
+
+
diff --git a/docs/database-schema/public.mtb_zip.md b/docs/database-schema/public.mtb_zip.md
new file mode 100644
index 0000000000..a64132bdbb
--- /dev/null
+++ b/docs/database-schema/public.mtb_zip.md
@@ -0,0 +1,35 @@
+# public.mtb_zip
+
+## Description
+
+郵便番号
+
+## Columns
+
+| Name | Type | Default | Nullable | Children | Parents | Comment |
+| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
+| zip_id | integer | | false | | | 郵便番号ID |
+| zipcode | text | | true | | | 郵便番号(7桁) |
+| state | text | | true | | | 都道府県 |
+| city | text | | true | | | 市区町村 |
+| town | text | | true | | | 町域 |
+
+## Constraints
+
+| Name | Type | Definition |
+| ---- | ---- | ---------- |
+| mtb_zip_pkey | PRIMARY KEY | PRIMARY KEY (zip_id) |
+
+## Indexes
+
+| Name | Definition |
+| ---- | ---------- |
+| mtb_zip_pkey | CREATE UNIQUE INDEX mtb_zip_pkey ON public.mtb_zip USING btree (zip_id) |
+
+## Relations
+
+![er](public.mtb_zip.svg)
+
+---
+
+> Generated by [tbls](https://github.com/k1LoW/tbls)
diff --git a/docs/database-schema/public.mtb_zip.svg b/docs/database-schema/public.mtb_zip.svg
new file mode 100644
index 0000000000..df6f32f9c8
--- /dev/null
+++ b/docs/database-schema/public.mtb_zip.svg
@@ -0,0 +1,44 @@
+
+
+
+
+
diff --git a/docs/database-schema/schema.svg b/docs/database-schema/schema.svg
new file mode 100644
index 0000000000..1e6ee74386
--- /dev/null
+++ b/docs/database-schema/schema.svg
@@ -0,0 +1,5204 @@
+
+
+
+
+
diff --git a/docs/eccube-diagram.jude b/docs/eccube-diagram.jude
deleted file mode 100644
index 2b09787da5..0000000000
Binary files a/docs/eccube-diagram.jude and /dev/null differ
diff --git a/docs/table_definition.xls b/docs/table_definition.xls
deleted file mode 100644
index c2cb9d2992..0000000000
Binary files a/docs/table_definition.xls and /dev/null differ
diff --git "a/docs/\343\203\206\343\203\274\343\203\226\343\203\253\345\256\232\347\276\251\346\233\270(EC-CUBE2.13dev).xlsx" "b/docs/\343\203\206\343\203\274\343\203\226\343\203\253\345\256\232\347\276\251\346\233\270(EC-CUBE2.13dev).xlsx"
deleted file mode 100644
index 905231ede4..0000000000
Binary files "a/docs/\343\203\206\343\203\274\343\203\226\343\203\253\345\256\232\347\276\251\346\233\270(EC-CUBE2.13dev).xlsx" and /dev/null differ