Skip to content

Commit 12edf32

Browse files
authored
fix: Starter kits should not ignore the --database option (#422)
1 parent 057337d commit 12edf32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ protected function promptForDatabaseOptions(string $directory, InputInterface $i
509509
$databaseOptions = $this->databaseOptions()
510510
)->keys()->first();
511511

512-
if ($this->usingStarterKit($input)) {
512+
if (! $input->getOption('database') && $this->usingStarterKit($input)) {
513513
// Starter kits will already be migrated in post composer create-project command...
514514
$migrate = false;
515515

0 commit comments

Comments
 (0)