initial commit
This commit is contained in:
23
src/module/Application/config/doctrine.config.php
Executable file
23
src/module/Application/config/doctrine.config.php
Executable file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Application;
|
||||
|
||||
use Ainias\Core\Connections\MyConnection;
|
||||
use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
|
||||
|
||||
return array(
|
||||
'doctrine' => array(
|
||||
'driver' => array(
|
||||
'orm_default' => array(
|
||||
'drivers' => array(
|
||||
__NAMESPACE__.'\Model' => 'entities_default',
|
||||
),
|
||||
),
|
||||
'entities_default' => array(
|
||||
'paths' => array(
|
||||
__DIR__ . '/../src/Model',
|
||||
)
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user