summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/packages/doctrine.yaml
diff options
context:
space:
mode:
authordevega <miguel.vega@sic.uhu.es>2020-03-23 10:10:50 +0100
committerdevega <miguel.vega@sic.uhu.es>2020-03-23 10:10:50 +0100
commitaafce73629d6b5f5d0a055e109d6112a4bccbb14 (patch)
tree5603a10758123d8c807e3de88c25d5c63eee218c /admin/WebConsole3/backend/config/packages/doctrine.yaml
parent2d61161b3b6ca0c22b860ea44f0dbf21af490e8e (diff)
Updated Symfony 3.x to 4.x
Diffstat (limited to 'admin/WebConsole3/backend/config/packages/doctrine.yaml')
-rw-r--r--admin/WebConsole3/backend/config/packages/doctrine.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/admin/WebConsole3/backend/config/packages/doctrine.yaml b/admin/WebConsole3/backend/config/packages/doctrine.yaml
new file mode 100644
index 00000000..1db3d1d6
--- /dev/null
+++ b/admin/WebConsole3/backend/config/packages/doctrine.yaml
@@ -0,0 +1,32 @@
+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'
+ orm:
+ 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
+ mappings:
+ OpengnsysServerBundle: ~
+ OpengnsysRepositoryBundle: ~
+ OpengnsysCoreBundle: ~
+ FOSUserBundle: ~
+ FOSOAuthServerBundle: ~
+ #OpengnsysMigrationBundle: ~
+ #og_1:
+ # connection: og_1
+ # mappings:
+ # OpengnsysMigrationBundle: ~