Skip to content

Firefly III: a personal finances manager

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

James Cole1b411815b7e6
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',
],