Created
June 19, 2020 12:42
-
-
Save dianabotean/f86e082b7c40ece51efdd1c0d4ae50f2 to your computer and use it in GitHub Desktop.
Anonymize customer email address
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
update customer_entity set email = (select concat(left(uuid(), 8), '@fakeaddress.com')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what does this do? it turns an address like 'diana.botean@yahoo.fr' into '12fbd7ee@fakeaddress.com'.