diff --git a/src/NewCommand.php b/src/NewCommand.php index 3950600..295d1a6 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -468,7 +468,7 @@ protected function promptForDatabaseOptions(string $directory, InputInterface $i } } - return [$database, $migrate ?? false]; + return [$database ?? $defaultDatabase, $migrate ?? false]; } /**