diff options
Diffstat (limited to 'admin/WebConsole3/backend/config/packages/doctrine.yaml')
-rw-r--r-- | admin/WebConsole3/backend/config/packages/doctrine.yaml | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/admin/WebConsole3/backend/config/packages/doctrine.yaml b/admin/WebConsole3/backend/config/packages/doctrine.yaml index 1db3d1d6..e44ca346 100644 --- a/admin/WebConsole3/backend/config/packages/doctrine.yaml +++ b/admin/WebConsole3/backend/config/packages/doctrine.yaml @@ -1,21 +1,22 @@ doctrine: dbal: - url: '%env(resolve:DATABASE_URL)%' - - # IMPORTANT: You MUST configure your server version, - # either here or in the DATABASE_URL env var (see .env file) - #server_version: '5.7' + default_connection: default + connections: + default: + url: '%env(DATABASE_URL)%' + driver: 'pdo_mysql' + server_version: '5.7' + charset: UTF8 + og_1: + url: '%env(DATABASE_OG1_URL)%' + driver: 'pdo_mysql' + server_version: '5.7' + charset: UTF8 orm: - auto_generate_proxy_classes: true + default_entity_manager: default + #auto_generate_proxy_classes: true #naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware #auto_mapping: true - #mappings: - # App: - # is_bundle: false - # type: annotation - # dir: '%kernel.project_dir%/src/Entity' - # prefix: 'App\Entity' - # alias: App entity_managers: default: connection: default @@ -26,7 +27,7 @@ doctrine: FOSUserBundle: ~ FOSOAuthServerBundle: ~ #OpengnsysMigrationBundle: ~ - #og_1: - # connection: og_1 - # mappings: - # OpengnsysMigrationBundle: ~ + og_1: + connection: og_1 + mappings: + OpengnsysMigrationBundle: ~ |