サンプルデータモジュールの削除または更新
主な内容:
-
Adobe Commerce インストール
composer.jsonからサンプルデータモジュール を削除します。 このオプションを選択すると、notがデータベースからサンプルデータを削除します。 -
サンプルデータの更新を準備します (例えば、Magento アプリケーションを更新する前)。
サンプルデータモジュールの削除
次のコマンドを入力します。
bin/magento sampledata:remove
サンプルデータモジュールの完全なリストは次のとおりです。
magento/module-bundle-sample-datamagento/module-catalog-rule-sample-datamagento/module-catalog-sample-datamagento/module-cms-sample-datamagento/module-configurable-sample-datamagento/module-customer-sample-datamagento/module-downloadable-sample-datamagento/module-grouped-product-sample-datamagento/module-msrp-sample-datamagento/module-offline-shipping-sample-datamagento/module-product-links-sample-datamagento/module-review-sample-datamagento/module-sales-rule-sample-datamagento/module-sales-sample-datamagento/module-sample-datamagento/module-swatches-sample-datamagento/module-tax-sample-datamagento/module-theme-sample-datamagento/module-widget-sample-datamagento/module-wishlist-sample-datamagento/sample-data-media
サンプルデータの更新の準備
このコマンドを使用すると、Adobe Commerceを更新する前にサンプルデータを更新できます。
更新用のサンプルデータを準備するには、次のコマンドを入力します。
bin/magento sampledata:reset
その後、 アプリケーションを更新します。
recommendation-more-help
0f8e7db5-0e9c-4002-a5b8-a0088077d995