We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b6287 commit db4a32cCopy full SHA for db4a32c
src/Console/ConsoleServiceProvider.php
@@ -207,8 +207,8 @@ protected function registerMigrateMakeCommand()
207
*/
208
protected function registerMigrateFreshCommand()
209
{
210
- $this->app->singleton('command.migrate.fresh', function () {
211
- return new MigrateFreshCommand;
+ $this->app->singleton('command.migrate.fresh', function ($app) {
+ return new MigrateFreshCommand($app['migrator']);
212
});
213
}
214
0 commit comments