Skip to content

Instantly share code, notes, and snippets.

@sunner
Created April 7, 2011 23:57
Show Gist options
  • Save sunner/909029 to your computer and use it in GitHub Desktop.
Save sunner/909029 to your computer and use it in GitHub Desktop.
Append suffix to all confirmed moodle usernames
UPDATE `mdl_user` SET `username` = concat(username,'.local') WHERE `auth` = 'email' and `deleted` = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment