Respect DB prefix for running drush sql:sanitize

Created on 15 November 2022, over 2 years ago
Updated 4 October 2024, 6 months ago

Problem/Motivation

When running drush sql:sanitize and using a db prefix, a SQL error is generated.

Steps to reproduce

Install Drupal configured with a db prefix.
Run ```drush sql:sanitize```

Proposed resolution

Surround the table name with '{' and '}' characters

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom somersoft

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024