Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jarv committed Apr 29, 2014
1 parent 3b73d98 commit 69e3717
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions util/vpc-tools/sanitize-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ SET FOREIGN_KEY_CHECKS=0;
UPDATE wwc.auth_user
set email = concat('success+',cast(id AS CHAR),'@simulator.amazonses.com')
where email not like ('%@edx.org'),
set username = concat('user-',cast(id AS CHAR)
set username = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set first_name = concat('user-',cast(id AS CHAR)
set first_name = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set last_name = concat('user-',cast(id AS CHAR)
set last_name = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set password = null
where email not like ('%@edx.org'),
Expand Down Expand Up @@ -62,11 +62,11 @@ UPDATE wwc.auth_userprofile
UPDATE prod_grader.auth_user
set email = concat('success+',cast(id AS CHAR),'@simulator.amazonses.com')
where email not like ('%@edx.org'),
set username = concat('user-',cast(id AS CHAR)
set username = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set first_name = concat('user-',cast(id AS CHAR)
set first_name = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set last_name = concat('user-',cast(id AS CHAR)
set last_name = concat('user-',cast(id AS CHAR))
where email not like ('%@edx.org'),
set password = null
where email not like ('%@edx.org'),
Expand Down

0 comments on commit 69e3717

Please sign in to comment.