Default is MySQL

This commit is contained in:
James Cole
2020-09-18 09:46:22 +02:00
parent 039e654ef1
commit 0d72aa9673

View File

@@ -55,7 +55,7 @@ class CreateDatabase extends Command
*/ */
public function handle(): int public function handle(): int
{ {
if ('mysql' !== env('DB_CONNECTION')) { if ('mysql' !== env('DB_CONNECTION', 'mysql')) {
$this->info(sprintf('CreateDB does not apply to "%s", skipped.', env('DB_CONNECTION'))); $this->info(sprintf('CreateDB does not apply to "%s", skipped.', env('DB_CONNECTION')));
return 0; return 0;