summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/packages/doctrine.yaml
diff options
context:
space:
mode:
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: ~