[PaaS만]{class="badge informative" title="Adobe Commerce 온 클라우드 프로젝트(Adobe 관리 PaaS 인프라) 및 온프레미스 프로젝트에만 적용됩니다."}

샘플 데이터 모듈 제거 또는 업데이트

이 항목에서는 다음 방법을 설명합니다.

  • Adobe Commerce 설치 에서샘플 데이터 모듈을 제거composer.json합니다. 이 옵션은 데이터베이스에서 샘플 데이터를 제거하지 ​않습니다.

  • 샘플 데이터 업데이트를 준비합니다(예: Magento 응용 프로그램을 업데이트하기 전).

샘플 데이터 모듈 제거

다음 명령을 입력합니다.

bin/magento sampledata:remove

샘플 데이터 모듈의 전체 목록은 다음과 같습니다.

  • magento/module-bundle-sample-data
  • magento/module-catalog-rule-sample-data
  • magento/module-catalog-sample-data
  • magento/module-cms-sample-data
  • magento/module-configurable-sample-data
  • magento/module-customer-sample-data
  • magento/module-downloadable-sample-data
  • magento/module-grouped-product-sample-data
  • magento/module-msrp-sample-data
  • magento/module-offline-shipping-sample-data
  • magento/module-product-links-sample-data
  • magento/module-review-sample-data
  • magento/module-sales-rule-sample-data
  • magento/module-sales-sample-data
  • magento/module-sample-data
  • magento/module-swatches-sample-data
  • magento/module-tax-sample-data
  • magento/module-theme-sample-data
  • magento/module-widget-sample-data
  • magento/module-wishlist-sample-data
  • magento/sample-data-media

샘플 데이터 업데이트 준비

이 명령을 사용하면 Adobe Commerce을 업데이트하기 전에 샘플 데이터를 업데이트할 수 있습니다.

업데이트할 샘플 데이터를 준비하려면 다음 명령을 입력합니다.

bin/magento sampledata:reset

그런 다음 응용 프로그램을 업데이트합니다.

recommendation-more-help
0f8e7db5-0e9c-4002-a5b8-a0088077d995