magento / magento/community-features

CLI Command to remove transaction data

Open
#97 1 comment 2 reactions 0 assignees View on GitHub
Priority: P3
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

There should be a utility to remove all the transaction data such as orders, customers, products, categories etc(all at once or separate command for each of them).

This way people won't have to run the truncate command which is error prone.

There are sample articles, but maybe not all are updated:
https://codeblog.experius.nl/magento-2-remove-sample-data-test-data/

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked sample-data article and determine which transaction entities the utility must remove: orders, customers, products, and categories. Define whether one command or separate commands is appropriate; done means the listed data can be removed without requiring the error-prone truncate command.

Written by the indexing model from the issue text.

Assessment

Domain
cli, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.