Skip to content

Commit

Permalink
fix: Add --allow-no-migration to migrations check (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven authored Mar 24, 2022
1 parent ad14841 commit c708a56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Command/DoctrineMigrationsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protected function getMultiCommand(): array
[
$this->withBinPath('console'),
'doctrine:migrations:migrate',
'--allow-no-migration',
'--no-interaction',
'--env=test',
],
Expand All @@ -32,13 +33,15 @@ protected function getMultiCommand(): array
$this->withBinPath('console'),
'doctrine:migrations:migrate',
'first',
'--allow-no-migration',
'--no-interaction',
'--env=test',
],
// Test all migrations ánd if down patches did their job
[
$this->withBinPath('console'),
'doctrine:migrations:migrate',
'--allow-no-migration',
'--no-interaction',
'--env=test',
],
Expand Down

0 comments on commit c708a56

Please sign in to comment.