Last active
May 24, 2017 13:45
-
-
Save emtii/3a74b41ebad4ee49fcb251a4e14441a3 to your computer and use it in GitHub Desktop.
delete customers from sw5.1.0 instance
This file contains hidden or 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
1. truncate | |
==================================================================================================================== | |
SET foreign_key_checks = 0; | |
TRUNCATE `s_user`; | |
TRUNCATE `s_user_attributes`; | |
TRUNCATE `s_user_billingaddress`; | |
TRUNCATE `s_user_billingaddress_attributes`; | |
TRUNCATE `s_user_debit`; | |
TRUNCATE `s_user_shippingaddress`; | |
TRUNCATE `s_user_shippingaddress_attributes`; | |
SET foreign_key_checks = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment