Skip to content

Commit 1600544

Browse files
Whoops
1 parent effe83f commit 1600544

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Phpmig/Console/Command/MigrateCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
8585
$direction = $version > $current ? 'up' : 'down';
8686

8787
if ($direction == 'down') {
88+
/**
89+
* Run downs first
90+
*/
8891
krsort($migrations);
8992
foreach($migrations as $migration) {
9093
if ($migration->getVersion() <= $version) {

0 commit comments

Comments
 (0)