Skip to content

Commit

Permalink
setting pass to an empty string, removing truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
jarv committed Apr 29, 2014
1 parent 248f37e commit 8aabc33
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions util/vpc-tools/sanitize-db.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
SET FOREIGN_KEY_CHECKS=0;

/*
Truncate the courseware_studentmodulehistory table since
it is only needed for analytics
*/

TRUNCATE courseware_studentmodulehistory;

/*
Rewrite all emails to used the SES simulator, simulating success.
Anonymize other user information
Expand All @@ -21,7 +14,7 @@ UPDATE wwc.auth_user
where email not like ('%@edx.org'),
set last_name = concat('user-',cast(id AS CHAR)
where email not like ('%@edx.org'),
set password = null
set password = ""
where email not like ('%@edx.org'),
set last_login = null
where email not like ('%@edx.org'),
Expand Down

0 comments on commit 8aabc33

Please sign in to comment.