Created
October 20, 2015 13:19
-
-
Save vasildakov-zz/48f67f5f748a14223df2 to your computer and use it in GitHub Desktop.
doctrine.local.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Production Config | |
return array( | |
'doctrine' => array( | |
'connection' => array( | |
'orm_default' => array( | |
'driverClass' =>'Doctrine\DBAL\Driver\PDOMySql\Driver', | |
'params' => array( | |
'host' => 'localhost', | |
'port' => '3306', | |
'user' => 'root', | |
'password' => '1', | |
'charset' => 'utf8', | |
//'dbname' => 'uss-boris', | |
'dbname' => 'v2_dev', | |
//'dbname' => 'uss_live', | |
//'dbname' => 'uss', | |
//'dbname' => 'dcc-live-16092015', | |
'driverOptions' => array( | |
1002=>'SET NAMES utf8' | |
) | |
), | |
'doctrine_type_mappings' => array( | |
'enum' => 'string' | |
), | |
) | |
), | |
'cache' => array( | |
'apc' => array( | |
'namespace' => 'dcc', | |
), | |
), | |
'configuration' => array( | |
'orm_default' => array( | |
'metadata_cache' => 'array', | |
'query_cache' => 'array', | |
'result_cache' => 'array', | |
'hydration_cache'=> 'array', | |
'generate_proxies' => true | |
) | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment