mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
chore: code cleanup.
This commit is contained in:
@@ -75,12 +75,12 @@ if (false !== $useSSL && null !== $useSSL) {
|
||||
return [
|
||||
'default' => envNonEmpty('DB_CONNECTION', 'mysql'),
|
||||
'connections' => [
|
||||
'sqlite' => [
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => envNonEmpty('DB_DATABASE', storage_path('database/database.sqlite')),
|
||||
'prefix' => '',
|
||||
],
|
||||
'mysql' => [
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => envNonEmpty('DB_HOST', $host),
|
||||
'port' => envNonEmpty('DB_PORT', $port),
|
||||
@@ -95,7 +95,7 @@ return [
|
||||
'engine' => 'InnoDB',
|
||||
'options' => $mySqlSSLOptions,
|
||||
],
|
||||
'pgsql' => [
|
||||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => envNonEmpty('DB_HOST', $host),
|
||||
'port' => envNonEmpty('DB_PORT', $port),
|
||||
@@ -110,7 +110,7 @@ return [
|
||||
'sslkey' => envNonEmpty('PGSQL_SSL_KEY'),
|
||||
'sslrootcert' => envNonEmpty('PGSQL_SSL_ROOT_CERT'),
|
||||
],
|
||||
'sqlsrv' => [
|
||||
'sqlsrv' => [
|
||||
'driver' => 'sqlsrv',
|
||||
'host' => env('DB_HOST', 'localhost'),
|
||||
'port' => env('DB_PORT', '1433'),
|
||||
|
Reference in New Issue
Block a user