fix sorting of migrations.
This commit is contained in:
parent
8bd740d183
commit
f3a78490bd
|
@ -130,7 +130,7 @@ protected function resolve($migrations)
|
|||
// At this point the migrations are only sorted within their
|
||||
// bundles so we need to resort them by name to ensure they
|
||||
// are in a consistent order.
|
||||
usort($migrations, function($a, $b)
|
||||
usort($instances, function($a, $b)
|
||||
{
|
||||
return strcmp($a['name'], $b['name']);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue