Skip to content

Commit 4e88dcd

Browse files
authored
Merge pull request #3907 from koenwoortman/master
Pass `--no-interaction` flag to migrate command from backpack:install
2 parents 7996979 + d703ab6 commit 4e88dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Console/Commands/Install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function handle()
5050
]);
5151

5252
$this->line(" Creating users table (using Laravel's default migration)");
53-
$this->executeArtisanProcess('migrate');
53+
$this->executeArtisanProcess('migrate', $this->option('no-interaction') ? ['--no-interaction' => true] : []);
5454

5555
$this->line(" Creating App\Http\Middleware\CheckIfAdmin.php");
5656
$this->executeArtisanProcess('backpack:publish-middleware');

0 commit comments

Comments
 (0)