Skip to content

Commit dcac6fc

Browse files
author
Dāvis Mičulis
authored
Merge pull request #1 from DavisMiculis/DavisMiculis-patch-1
Migration validation fix
2 parents 85f98de + a985d10 commit dcac6fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Database/MigrationRunner.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ public function version(string $targetVersion, $group='default')
198198
{
199199
return true;
200200
}
201+
202+
$previous = false;
201203

202204
// Validate all available migrations, and run the ones within our target range
203205
foreach ($migrations as $number => $file)

0 commit comments

Comments
 (0)