Fix issue where MySQL was considered the default if left unset.

This commit is contained in:
James Cole 2020-02-01 16:14:21 +01:00
parent e9ab11051f
commit 1b411815b7
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ if (!(false === $databaseUrl)) {
return [ return [
'default' => envNonEmpty('DB_CONNECTION', 'mysql'), 'default' => envNonEmpty('DB_CONNECTION', 'pgsql'),
'connections' => [ 'connections' => [
'sqlite' => [ 'sqlite' => [
'driver' => 'sqlite', 'driver' => 'sqlite',

View File

@ -136,7 +136,7 @@ return [
'export' => true, 'export' => true,
], ],
'encryption' => null === env('USE_ENCRYPTION') || true === env('USE_ENCRYPTION'), 'encryption' => null === env('USE_ENCRYPTION') || true === env('USE_ENCRYPTION'),
'version' => '5.0.3', 'version' => '5.0.4',
'api_version' => '1.0.0', 'api_version' => '1.0.0',
'db_version' => 12, 'db_version' => 12,
'maxUploadSize' => 15242880, 'maxUploadSize' => 15242880,

View File

@ -100,7 +100,7 @@ return [
*/ */
'failed' => [ 'failed' => [
'database' => envNonEmpty('DB_CONNECTION', 'mysql'), 'database' => envNonEmpty('DB_CONNECTION', 'pgsql'),
'table' => 'failed_jobs', 'table' => 'failed_jobs',
], ],