Skip to content

Commit

Permalink
Bugfix: drop database command was not working with shard argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Ribeiro committed May 29, 2020
1 parent a9e3720 commit ca57010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/DropDatabaseDoctrineCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
foreach ($shards as $shard) {
if ($shard['id'] === (int) $input->getOption('shard')) {
// Select sharded database
$params = $shard;
$params = array_merge($params, $shard);
unset($params['id']);
break;
}
Expand Down

0 comments on commit ca57010

Please sign in to comment.