Does anyone have list of tables I need to truncate to delete all test customers, products, reviews and orders in Magento 2 ? I'm looking for something similar to Clearing Magento after testing .
Magento 2 – How to Truncate Customers, Products, Reviews, and Orders Table
magento2testing
Best Answer
[Note]: Please take database backup prior to executing these queries.
I went through all tables and came up with the following list of tables that should be truncated in order to clear test data:
Truncate order tables
Truncate Customer tables
Truncate Review tables
Truncate Product tables