Setting default database version to 10.10 to avoid unnecessary DB connections from CLI.

This commit is contained in:
Alexey Skobkin 2019-12-29 01:48:53 +03:00
parent 5a81015de8
commit 3df787b313
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -4,6 +4,7 @@ parameters:
# environment variables are not available yet. # environment variables are not available yet.
# You should not need to change this value. # You should not need to change this value.
env(APP_DATABASE_URL): '' env(APP_DATABASE_URL): ''
env(POSTGRES_VERSION): '10.10'
env(MAGNETICOD_DATABASE_URL): '' env(MAGNETICOD_DATABASE_URL): ''
doctrine: doctrine:
@ -13,10 +14,11 @@ doctrine:
default: default:
driver: 'pdo_pgsql' driver: 'pdo_pgsql'
url: '%env(resolve:APP_DATABASE_URL)%' url: '%env(resolve:APP_DATABASE_URL)%'
#server_version: 9.6 server_version: '%env(resolve:POSTGRES_VERSION)%'
magneticod: magneticod:
driver: 'pdo_pgsql' driver: 'pdo_pgsql'
url: '%env(resolve:MAGNETICOD_DATABASE_URL)%' url: '%env(resolve:MAGNETICOD_DATABASE_URL)%'
server_version: '%env(resolve:POSTGRES_VERSION)%'
orm: orm:
auto_generate_proxy_classes: '%kernel.debug%' auto_generate_proxy_classes: '%kernel.debug%'
default_entity_manager: default default_entity_manager: default