Commit 2a7669b5 by John Jarvis

adding student_passwordhistory

parent 0f11d60b
SET FOREIGN_KEY_CHECKS=0; SET FOREIGN_KEY_CHECKS=0;
/* /*
Remove all password hashes, even for edx employees
*/
UPDATE wwc.auth_user
set
password = null;
UPDATE wwc.student_passwordhistory
set
password = null;
/*
Rewrite all emails to used the SES simulator, simulating success. Rewrite all emails to used the SES simulator, simulating success.
Anonymize other user information Anonymize other user information. Skip @edx.org accounts
*/ */
UPDATE wwc.auth_user UPDATE wwc.auth_user
...@@ -11,7 +23,6 @@ UPDATE wwc.auth_user ...@@ -11,7 +23,6 @@ UPDATE wwc.auth_user
username = concat('user-',cast(id AS CHAR)), username = concat('user-',cast(id AS CHAR)),
first_name = concat('user-',cast(id AS CHAR)), first_name = concat('user-',cast(id AS CHAR)),
last_name = concat('user-',cast(id AS CHAR)), last_name = concat('user-',cast(id AS CHAR)),
password = null,
last_login = null, last_login = null,
date_joined = null date_joined = null
where email not like ('%@edx.org'); where email not like ('%@edx.org');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment