Skip to content

Commit 6af8850

Browse files
[5.x] Fixes double migrate-prompt (#1447)
* Fixes double migrate-prompt * Update InstallCommand.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 61bbf49 commit 6af8850

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Console/InstallCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ protected function installLivewireStack()
152152
return false;
153153
}
154154

155-
$this->call('install:api');
155+
$this->call('install:api', [
156+
'--without-migration-prompt' => true,
157+
]);
156158

157159
// Update Configuration...
158160
$this->replaceInFile('inertia', 'livewire', config_path('jetstream.php'));
@@ -336,7 +338,9 @@ protected function installInertiaStack()
336338
return false;
337339
}
338340

339-
$this->call('install:api');
341+
$this->call('install:api', [
342+
'--without-migration-prompt' => true,
343+
]);
340344

341345
// Install NPM packages...
342346
$this->updateNodePackages(function ($packages) {

0 commit comments

Comments
 (0)