diff --git a/src/Console/Commands/CraftableInitializeEnv.php b/src/Console/Commands/CraftableInitializeEnv.php index 8370f5a..e3f0118 100644 --- a/src/Console/Commands/CraftableInitializeEnv.php +++ b/src/Console/Commands/CraftableInitializeEnv.php @@ -59,7 +59,7 @@ private function strReplaceInFile($fileName, $find, $replaceWith) */ private function getDbSettings(): void { - if (env('DB_DATABASE') === 'homestead' && $this->input->isInteractive()) { + if ((env('DB_DATABASE') === 'homestead' || env('DB_DATABASE') === 'laravel') && $this->input->isInteractive()) { $dbConnection = $this->choice('What database driver do you use?', ['mysql', 'pgsql'], 1); if (!empty($dbConnection)) { $this->strReplaceInFile(