Skip to content

Conversation

@manuee
Copy link
Contributor

@manuee manuee commented Jun 10, 2019

Issue links

https://www.drupal.org/project/database_sanitize/issues/3060557

Description

We're currently using $db_tables = \Drupal::database()->query('show tables')->fetchCol(); which isn't compatible with all drivers.

Proposed resolution
Use $db_tables = \Drupal::service('database')->schema()->findTables('%'); instead, which is compatible with all drivers.

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

Successfully merging this pull request may close these issues.

2 participants