webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
23 stars 3 forks source link

drowl-init-from-existing: Won't work if database-prefix is used in dump #67

Open JPustkuchen opened 2 years ago

JPustkuchen commented 2 years ago

Problem:

When a database prefix is used in imported SQL, the page won't work, as ddev drush si doesn't know about the prefix.

Proposed solution:

If importing the database, ask if a database prefix was used and if yes, let the user enter the prefix. Then drush si must use the prefix (and sets it in settings.php).

Note: The call order has to be changed first, as described in https://github.com/webksde/ddev-vscode-devcontainer-drupal9-template/issues/66