Skip to content

Commit 34f9071

Browse files
committed
bug #577 Make Migration - Fix db/shard options value forward (cvergne)
This PR was merged into the 1.0-dev branch. Discussion ---------- Make Migration - Fix db/shard options value forward Hi, A very small fix noticed when playing a little with the `make:migration` command :) Commits ------- 568b098 Make Migration - Fix db/shard options value forward
2 parents a8536e4 + 568b098 commit 34f9071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Maker/MakeMigration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
6767
{
6868
$options = ['doctrine:migrations:diff'];
6969
if (null !== $input->getOption('db')) {
70-
$options[] = '--db'.$input->getOption('db');
70+
$options[] = '--db='.$input->getOption('db');
7171
}
7272
if (null !== $input->getOption('em')) {
7373
$options[] = '--em='.$input->getOption('em');
7474
}
7575
if (null !== $input->getOption('shard')) {
76-
$options[] = '--shard'.$input->getOption('shard');
76+
$options[] = '--shard='.$input->getOption('shard');
7777
}
7878

7979
$generateMigrationCommand = $this->application->find('doctrine:migrations:diff');

0 commit comments

Comments
 (0)