Last active
September 21, 2020 13:04
-
-
Save zolthan/372ea242197afb2a72ab6abdc0f20d45 to your computer and use it in GitHub Desktop.
Shopware 6 - Cleanup testing data (Orders, Customers, etc)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELETE FROM `document` WHERE referenced_document_id IS NOT NULL; | |
DELETE FROM `document`; | |
DELETE FROM `cart`; | |
DELETE FROM `order`; | |
DELETE FROM `customer`; | |
DELETE FROM `log_entry`; | |
DELETE FROM `newsletter_recipient`; | |
-- Plugin Frosh Mail Archive | |
DELETE FROM `frosh_mail_archive`; | |
-- Plugin Customweb Datatrans | |
DELETE FROM `sw_datatranscw_cc`; | |
DELETE FROM `sw_datatranscw_transactions`; | |
-- Plugin 7thSENSE Vortex | |
DELETE FROM `vortex_queue`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment