Created
March 20, 2011 05:41
-
-
Save smellman/878124 to your computer and use it in GitHub Desktop.
全てのユーザのメアドを一気に変更する。
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 users set email = concat(concat('btm+', id), '@smellman.org'); | |
update incident_person set person_email = concat(concat('btm+', id), '@smellman.org'); | |
update comment set comment_email = concat(concat('btm+', id), '@smellman.org'); | |
update alert set alert_recipient = concat(concat('btm+', id), '@smellman.org'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment