Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Drupal 8 sanitization example #56

Open
ptmkenny opened this issue Feb 18, 2016 · 2 comments
Open

Add Drupal 8 sanitization example #56

ptmkenny opened this issue Feb 18, 2016 · 2 comments

Comments

@ptmkenny
Copy link

quicksilver-examples/db_sanitization/db_sanitization_drupal.php is named "Drupal" but it won't work for Drupal 8 because the password and such is in users_field_data, not users.

Please add an example of sanitizing a D8 database and mark the other Drupal script as being for D7.

@greg-1-anderson
Copy link
Member

Maybe using drush sql-sanitize would be the better solution here. That wasn't supported when this example was first created, but it should work now.

@ptmkenny
Copy link
Author

I actually tried drush sql-sanitize in Terminus, which resolved with no
errors, but nothing was actually sanitized (email and passwords unchanged,
sessions table not truncated).

This is the command I used:

terminus drush “sql-sanitize -y” --site=mysite --env=mymultidevbranch

terminus 0.10.2

Even if recommending sql-sanitize, it would be nice to have an example like
the one for D7 because many sites need to sanitize additional fields beyond
what drush offers out of the box.

On Fri, Feb 19, 2016 at 2:08 AM, Greg Anderson notifications@github.com
wrote:

Maybe using drush sql-sanitize would be the better solution here. That
wasn't supported when this example was first created, but it should work
now.


Reply to this email directly or view it on GitHub
#56 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants