8000 update FreshCommand · laravel/lumen-framework@db4a32c · GitHub
[go: up one dir, main page]

Skip to content

Commit db4a32c

Browse files
committed
update FreshCommand
1 parent 72b6287 commit db4a32c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/ConsoleServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ protected function registerMigrateMakeCommand()
207207
*/
208208
protected function registerMigrateFreshCommand()
209209
{
210-
$this->app->singleton('command.migrate.fresh', function () {
211-
return new MigrateFreshCommand;
210+
$this->app->singleton('command.migrate.fresh', function ($app) {
211+
return new MigrateFreshCommand($app['migrator']);
212212
});
213213
}
214214

0 commit comments

Comments
 (0)
0