Skip to content

Commit 577308b

Browse files
maidzenm.kohlerLordSimaldereuromark
authored
fix migration diff dump source by parsing source parameter (#819)
* fix migration diff dump source by parsing source parameter Co-authored-by: Mark Scherer <dereuromark@users.noreply.github.com> --------- Co-authored-by: m.kohler <kohler@goserver.de> Co-authored-by: Kevin Pfeifer <info@pfiff.me> Co-authored-by: Mark Scherer <dereuromark@users.noreply.github.com>
1 parent d59ab03 commit 577308b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Command/BakeMigrationDiffCommand.php

+5
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,11 @@ protected function getDumpSchema(Arguments $args): array
516516
if (!empty($args->getOption('connection'))) {
517517
$connectionName = $inputArgs['--connection'] = $args->getOption('connection');
518518
}
519+
520+
if ($args->getOption('source')) {
521+
$inputArgs['--source'] = $args->getOption('source');
522+
}
523+
519524
if (!empty($args->getOption('plugin'))) {
520525
$inputArgs['--plugin'] = $args->getOption('plugin');
521526
}

0 commit comments

Comments
 (0)