Add DoctrineExtensions for more Mysql functions
parent
a7834972a2
commit
d56831777f
|
@ -15,7 +15,8 @@
|
||||||
"robmorgan/phinx": "0.5.*",
|
"robmorgan/phinx": "0.5.*",
|
||||||
"monarc/core": "dev-master",
|
"monarc/core": "dev-master",
|
||||||
"monarc/frontoffice": "dev-master",
|
"monarc/frontoffice": "dev-master",
|
||||||
"phing/phing": "~2.0"
|
"phing/phing": "~2.0",
|
||||||
|
"beberlei/DoctrineExtensions": "^1.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"bin-dir": "bin/"
|
"bin-dir": "bin/"
|
||||||
|
|
|
@ -74,6 +74,7 @@ return array(
|
||||||
'configuration' => 'orm_cli',
|
'configuration' => 'orm_cli',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
// https://github.com/beberlei/DoctrineExtensions/blob/master/config/mysql.yml
|
||||||
'configuration' => array(
|
'configuration' => array(
|
||||||
'orm_default' => array(
|
'orm_default' => array(
|
||||||
'metadata_cache' => 'mycache',
|
'metadata_cache' => 'mycache',
|
||||||
|
@ -85,7 +86,9 @@ return array(
|
||||||
'proxy_namespace' => 'DoctrineORMModule\Proxy',
|
'proxy_namespace' => 'DoctrineORMModule\Proxy',
|
||||||
'filters' => array(),
|
'filters' => array(),
|
||||||
'datetime_functions' => array(),
|
'datetime_functions' => array(),
|
||||||
'string_functions' => array(),
|
'string_functions' => array(
|
||||||
|
'greatest' => 'DoctrineExtensions\Query\Mysql\Greatest',
|
||||||
|
),
|
||||||
'numeric_functions' => array(),
|
'numeric_functions' => array(),
|
||||||
'second_level_cache' => array(),
|
'second_level_cache' => array(),
|
||||||
),
|
),
|
||||||
|
@ -99,7 +102,9 @@ return array(
|
||||||
'proxy_namespace' => 'DoctrineORMModule\Proxy',
|
'proxy_namespace' => 'DoctrineORMModule\Proxy',
|
||||||
'filters' => array(),
|
'filters' => array(),
|
||||||
'datetime_functions' => array(),
|
'datetime_functions' => array(),
|
||||||
'string_functions' => array(),
|
'string_functions' => array(
|
||||||
|
'greatest' => 'DoctrineExtensions\Query\Mysql\Greatest',
|
||||||
|
),
|
||||||
'numeric_functions' => array(),
|
'numeric_functions' => array(),
|
||||||
'second_level_cache' => array(),
|
'second_level_cache' => array(),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue