mirror of
https://github.com/bitinflow/expose.git
synced 2026-11-01 13:19:09 +00:00
Ensure that migrations are sorted properly
This commit is contained in:
1 parent
db57f83bdf
commit
9e67b5ef5d
1 file changed
+2
-1
@@ -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