Skip to content

Commit

Permalink
Update change_user_emails.sh to use localhost.dev, which is sort-of-v…
Browse files Browse the repository at this point in the history
…alid email
  • Loading branch information
rfay committed Oct 20, 2015
1 parent 12a4454 commit 1282c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/devsite_scripts/change_user_emails.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
db=wsupg
echo "This script will give dummy emails to all but a few key accounts. It's intended for the database $db. If you want to use it elsewhere, you'll need to change \$db."

echo "update users set mail=concat('user_', uid, '@localhost') where uid not in (1,1165, 12075, 8088, 36456, 18358, 36076) AND uid > 0;" | mysql $db
echo "update users set mail=concat('user_', uid, '@localhost.dev') where uid not in (1,1165, 12075, 8088, 36456, 18358, 36076) AND uid > 0;" | mysql $db
echo "update users set init=mail; " | mysql $db

0 comments on commit 1282c3a

Please sign in to comment.