database.local.php.dist 1.05 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

return [
    'doctrine' => [
        'connection' => [
            'orm_default' => [
                'driverClass' => 'Doctrine\DBAL\Driver\OCI8\Driver',
                'params' => [
                    'host'     => 'XXXXX',
                    'dbname'   => 'XXXXX',
                    'port'     => 'XXXXX',
                    'user'     => 'XXXXX',
                    'password' => 'XXXXX',
14
                    'charset'  => 'AL32UTF8',
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
                ],
            ],
        ],
        'driver'     => [
            'orm_default_xml_driver' => [
                'class' => 'Doctrine\ORM\Mapping\Driver\XmlDriver',
                'cache' => 'array',
                'paths' => [
                    __DIR__ . '/../../module/ImportData/src/V1/Entity/Db/Mapping',
                ],
            ],
            'orm_default' => [
                'class'   => 'Doctrine\ORM\Mapping\Driver\DriverChain',
                'drivers' => [
                    'ImportData\V1\Entity\Db' => 'orm_default_xml_driver',
                ],
            ],
        ],
    ],
];