Default is MySQL

This commit is contained in:
James Cole 2020-09-18 09:46:22 +02:00
parent 039e654ef1
commit 0d72aa9673
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -55,7 +55,7 @@ class CreateDatabase extends Command
*/
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')));
return 0;