Skip to content

Commit e2b41b8

Browse files
committed
Pass --no-interaction flag to migrate command from backpack:install
1 parent 7996979 commit e2b41b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/Console/Commands/Install.php

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

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

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

0 commit comments

Comments
 (0)