mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Ensure that migrations are sorted properly
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user