From 1b411815b7e667f51af74d647bb469f2c198e261 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 1 Feb 2020 16:14:21 +0100 Subject: [PATCH] Fix issue where MySQL was considered the default if left unset. --- config/database.php | 2 +- config/firefly.php | 2 +- config/queue.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/database.php b/config/database.php index 9a6e294e46..e88887478a 100644 --- a/config/database.php +++ b/config/database.php @@ -44,7 +44,7 @@ if (!(false === $databaseUrl)) { return [ - 'default' => envNonEmpty('DB_CONNECTION', 'mysql'), + 'default' => envNonEmpty('DB_CONNECTION', 'pgsql'), 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', diff --git a/config/firefly.php b/config/firefly.php index bb983cec09..9f1f5fe10c 100644 --- a/config/firefly.php +++ b/config/firefly.php @@ -136,7 +136,7 @@ return [ 'export' => true, ], 'encryption' => null === env('USE_ENCRYPTION') || true === env('USE_ENCRYPTION'), - 'version' => '5.0.3', + 'version' => '5.0.4', 'api_version' => '1.0.0', 'db_version' => 12, 'maxUploadSize' => 15242880, diff --git a/config/queue.php b/config/queue.php index 52589eabd2..0c97506169 100644 --- a/config/queue.php +++ b/config/queue.php @@ -100,7 +100,7 @@ return [ */ 'failed' => [ - 'database' => envNonEmpty('DB_CONNECTION', 'mysql'), + 'database' => envNonEmpty('DB_CONNECTION', 'pgsql'), 'table' => 'failed_jobs', ],