Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

adding an sql script for sanitizing the prod mysql db #1052

Merged
merged 11 commits into from
May 2, 2014
Merged

Conversation

jarv
Copy link
Contributor

@jarv jarv commented Apr 29, 2014

No description provided.

where email not like ('%@edx.org'),
set last_name = concat('user-',cast(id AS CHAR)
where email not like ('%@edx.org'),
set password = null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little surprised this is nullable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the default, maybe set it to an empty string instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's nullable, I'm fine with this; I'm just surprised.

@e0d
Copy link
Contributor

e0d commented Apr 29, 2014

Other than the small comment, 👍

jarv added a commit that referenced this pull request May 2, 2014
adding an sql script for sanitizing the prod mysql db
@jarv jarv merged commit 0dafb4f into master May 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants