Skip to content

Commit

Permalink
Fix acquia#4310 Skip assigning all drupal databases on local settings…
Browse files Browse the repository at this point in the history
… file

Instead set only the default database key, to prevent removing any added
database key from other include files.
  • Loading branch information
marvil07 committed Dec 31, 2020
1 parent afd76d6 commit db182c7
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions settings/default.local.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,14 @@
/**
* Database configuration.
*/
$databases = [
'default' =>
[
'default' =>
[
'database' => $db_name,
'username' => '${drupal.db.username}',
'password' => '${drupal.db.password}',
'host' => '${drupal.db.host}',
'port' => '${drupal.db.port}',
'driver' => 'mysql',
'prefix' => '',
],
],
$databases['default']['default'] = [
'database' => $db_name,
'username' => '${drupal.db.username}',
'password' => '${drupal.db.password}',
'host' => '${drupal.db.host}',
'port' => '${drupal.db.port}',
'driver' => 'mysql',
'prefix' => '',
];

// Use development service parameters.
Expand Down

0 comments on commit db182c7

Please sign in to comment.