mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix for #2128
This commit is contained in:
parent
87d5cabe52
commit
3a57e09447
@ -45,6 +45,14 @@ DB_DATABASE=${FF_DB_NAME}
|
|||||||
DB_USERNAME=${FF_DB_USER}
|
DB_USERNAME=${FF_DB_USER}
|
||||||
DB_PASSWORD="${FF_DB_PASSWORD}"
|
DB_PASSWORD="${FF_DB_PASSWORD}"
|
||||||
|
|
||||||
|
# PostgreSQL supports SSL. You can configure it here.
|
||||||
|
PGSQL_SSL=${PGSQL_SSL}
|
||||||
|
PGSQL_SSL_MODE=${PGSQL_SSL_MODE}
|
||||||
|
PGSQL_SSL_ROOT_CERT=${PGSQL_SSL_ROOT_CERT}
|
||||||
|
PGSQL_SSL_CERT=${PGSQL_SSL_CERT}
|
||||||
|
PGSQL_SSL_KEY=${PGSQL_SSL_KEY}
|
||||||
|
PGSQL_SSL_CRL_FILE=${PGSQL_SSL_CRL_FILE}
|
||||||
|
|
||||||
# If you're looking for performance improvements, you could install memcached.
|
# If you're looking for performance improvements, you could install memcached.
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
|
@ -42,7 +42,12 @@ DB_CONNECTION=pgsql
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# PostgreSQL supports SSL. You can configure it here.
|
||||||
|
PGSQL_SSL_MODE=prefer
|
||||||
|
PGSQL_SSL_ROOT_CERT=null
|
||||||
|
PGSQL_SSL_CERT=null
|
||||||
|
PGSQL_SSL_KEY=null
|
||||||
|
PGSQL_SSL_CRL_FILE=null
|
||||||
|
|
||||||
|
|
||||||
# If you're looking for performance improvements, you could install memcached.
|
# If you're looking for performance improvements, you could install memcached.
|
||||||
|
@ -45,6 +45,13 @@ DB_DATABASE=homestead
|
|||||||
DB_USERNAME=homestead
|
DB_USERNAME=homestead
|
||||||
DB_PASSWORD=secret
|
DB_PASSWORD=secret
|
||||||
|
|
||||||
|
# PostgreSQL supports SSL. You can configure it here.
|
||||||
|
PGSQL_SSL_MODE=prefer
|
||||||
|
PGSQL_SSL_ROOT_CERT=null
|
||||||
|
PGSQL_SSL_CERT=null
|
||||||
|
PGSQL_SSL_KEY=null
|
||||||
|
PGSQL_SSL_CRL_FILE=null
|
||||||
|
|
||||||
# If you're looking for performance improvements, you could install memcached.
|
# If you're looking for performance improvements, you could install memcached.
|
||||||
CACHE_DRIVER=file
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=file
|
SESSION_DRIVER=file
|
||||||
|
@ -145,7 +145,7 @@ class ImportDataHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
$destinationData = [
|
$destinationData = [
|
||||||
'name' => $transaction['payee_name'],
|
'name' => str_replace('Transfer: ', '', $transaction['payee_name']),
|
||||||
'iban' => null,
|
'iban' => null,
|
||||||
'number' => $transaction['payee_id'],
|
'number' => $transaction['payee_id'],
|
||||||
'bic' => null,
|
'bic' => null,
|
||||||
|
@ -60,16 +60,19 @@ return [
|
|||||||
'engine' => 'InnoDB',
|
'engine' => 'InnoDB',
|
||||||
],
|
],
|
||||||
'pgsql' => [
|
'pgsql' => [
|
||||||
'driver' => 'pgsql',
|
'driver' => 'pgsql',
|
||||||
'host' => envNonEmpty('DB_HOST', $host),
|
'host' => envNonEmpty('DB_HOST', $host),
|
||||||
'port' => envNonEmpty('DB_PORT', '5432'),
|
'port' => envNonEmpty('DB_PORT', '5432'),
|
||||||
'database' => envNonEmpty('DB_DATABASE', $database),
|
'database' => envNonEmpty('DB_DATABASE', $database),
|
||||||
'username' => envNonEmpty('DB_USERNAME', $username),
|
'username' => envNonEmpty('DB_USERNAME', $username),
|
||||||
'password' => env('DB_PASSWORD', $password),
|
'password' => env('DB_PASSWORD', $password),
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8',
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
'schema' => 'public',
|
'schema' => 'public',
|
||||||
'sslmode' => 'prefer',
|
'sslmode' => envNonEmpty('PGSQL_SSL_MODE', 'prefer'),
|
||||||
|
'sslcert' => envNonEmpty('PGSQL_SSL_CERT'),
|
||||||
|
'sslkey' => envNonEmpty('PGSQL_SSL_KEY'),
|
||||||
|
'sslrootcert' => envNonEmpty('PGSQL_SSL_ROOT_CERT'),
|
||||||
],
|
],
|
||||||
'sqlsrv' => [
|
'sqlsrv' => [
|
||||||
'driver' => 'sqlsrv',
|
'driver' => 'sqlsrv',
|
||||||
|
Loading…
Reference in New Issue
Block a user