diff --git a/src/Console/ConsoleServiceProvider.php b/src/Console/ConsoleServiceProvider.php index 25ac10bd..2b6e0508 100644 --- a/src/Console/ConsoleServiceProvider.php +++ b/src/Console/ConsoleServiceProvider.php @@ -207,8 +207,8 @@ protected function registerMigrateMakeCommand() */ protected function registerMigrateFreshCommand() { - $this->app->singleton('command.migrate.fresh', function () { - return new MigrateFreshCommand; + $this->app->singleton('command.migrate.fresh', function ($app) { + return new MigrateFreshCommand($app['migrator']); }); }