Skip to content

Commit db4a32c

Browse files
committedApr 4, 2024··
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

+2-2
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)
Please sign in to comment.