diff --git a/app/Server/Factory.php b/app/Server/Factory.php index 9f7e728..cb9d967 100644 --- a/app/Server/Factory.php +++ b/app/Server/Factory.php @@ -248,7 +248,8 @@ class Factory ->files() ->ignoreDotFiles(true) ->in(database_path('migrations')) - ->name('*.sql'); + ->name('*.sql') + ->sortByName(); /** @var SplFileInfo $migration */ foreach ($migrations as $migration) {