Skip to content

Instantly share code, notes, and snippets.

@dianabotean
Created June 19, 2020 12:42
Show Gist options
  • Select an option

  • Save dianabotean/f86e082b7c40ece51efdd1c0d4ae50f2 to your computer and use it in GitHub Desktop.

Select an option

Save dianabotean/f86e082b7c40ece51efdd1c0d4ae50f2 to your computer and use it in GitHub Desktop.
Anonymize customer email address
update customer_entity set email = (select concat(left(uuid(), 8), '@fakeaddress.com'));
@dianabotean
Copy link
Author

what does this do? it turns an address like '[email protected]' into '[email protected]'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment