Skip to content

Commit

Permalink
Update ResetCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
reinvanoyen authored Jan 16, 2020
1 parent 0e3920b commit 5ada057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Migration/Console/ResetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function createSignature(Signature $signature): Signature

protected function execute(InputInterface $input, OutputInterface $output)
{
foreach ($this->manager->getMigrators() as $migrator) {
foreach (array_reverse($this->manager->getMigrators()) as $migrator) {

if (
! ($migratorName = $input->getOption('migrator')) ||
Expand All @@ -55,4 +55,4 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}
}
}
}

0 comments on commit 5ada057

Please sign in to comment.