summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/packages/doctrine.yaml
blob: 1db3d1d674f43fb8d92175594f738b22e1b6c9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: ~