Merge pull request #109 from real-chocopanda/fix-non-mysql-reverse
Fix propel:reverse for non-mysql databases
This commit is contained in:
commit
51b58bf428
|
@ -62,8 +62,8 @@ EOT
|
||||||
|
|
||||||
$ret = $this->callPhing('reverse', array(
|
$ret = $this->callPhing('reverse', array(
|
||||||
'propel.project' => $name,
|
'propel.project' => $name,
|
||||||
|
'propel.database' => $defaultConfig['adapter'],
|
||||||
'propel.database.url' => $defaultConfig['connection']['dsn'],
|
'propel.database.url' => $defaultConfig['connection']['dsn'],
|
||||||
'propel.database.database' => $defaultConfig['adapter'],
|
|
||||||
'propel.database.user' => $defaultConfig['connection']['user'],
|
'propel.database.user' => $defaultConfig['connection']['user'],
|
||||||
'propel.database.password' => isset($defaultConfig['connection']['password']) ? $defaultConfig['connection']['password'] : '',
|
'propel.database.password' => isset($defaultConfig['connection']['password']) ? $defaultConfig['connection']['password'] : '',
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue