-
-
Save deivisonarthur/715f2e9484db9185cbb904b813c9d1b6 to your computer and use it in GitHub Desktop.
Magento - Delete all customers
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
SET FOREIGN_KEY_CHECKS = 0; | |
TRUNCATE TABLE `customer_address_entity`; | |
TRUNCATE TABLE `customer_address_entity_datetime`; | |
TRUNCATE TABLE `customer_address_entity_decimal`; | |
TRUNCATE TABLE `customer_address_entity_int`; | |
TRUNCATE TABLE `customer_address_entity_text`; | |
TRUNCATE TABLE `customer_address_entity_varchar`; | |
TRUNCATE TABLE `customer_entity`; | |
TRUNCATE TABLE `customer_entity_datetime`; | |
TRUNCATE TABLE `customer_entity_decimal`; | |
TRUNCATE TABLE `customer_entity_int`; | |
TRUNCATE TABLE `customer_entity_text`; | |
TRUNCATE TABLE `customer_entity_varchar`; | |
SET FOREIGN_KEY_CHECKS = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment