diff options
author | devega <miguel.vega@sic.uhu.es> | 2020-03-24 12:36:46 +0100 |
---|---|---|
committer | devega <miguel.vega@sic.uhu.es> | 2020-03-24 12:36:46 +0100 |
commit | 7a51e7aeffd72798fcd8cfaa1f27535b5e959b07 (patch) | |
tree | dd19baeca029deaaa6b356bb4884bf9d93728250 /admin/WebConsole3/backend/config/packages | |
parent | aafce73629d6b5f5d0a055e109d6112a4bccbb14 (diff) |
Updated Symfony 3.x to 4.xwebconsole3
- Reorganizado los Repositorios de Symfony
- Registrado los commandos como Servicio
- Actualizado la configuraiĆ³n de Doctrine
- Modificado el fichero update e installer.
Diffstat (limited to 'admin/WebConsole3/backend/config/packages')
-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: ~ |