From 521c978e4416658fa2bcf85b3e2b738e408be405 Mon Sep 17 00:00:00 2001 From: Matthieu Robin Date: Tue, 21 Feb 2012 15:15:34 +0100 Subject: [PATCH] fix propel:reverse command for non-mysql databases fixes #89 --- Command/ReverseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/ReverseCommand.php b/Command/ReverseCommand.php index b3f0bb6..294b0f6 100644 --- a/Command/ReverseCommand.php +++ b/Command/ReverseCommand.php @@ -62,8 +62,8 @@ EOT $ret = $this->callPhing('reverse', array( 'propel.project' => $name, + 'propel.database' => $defaultConfig['adapter'], 'propel.database.url' => $defaultConfig['connection']['dsn'], - 'propel.database.database' => $defaultConfig['adapter'], 'propel.database.user' => $defaultConfig['connection']['user'], 'propel.database.password' => isset($defaultConfig['connection']['password']) ? $defaultConfig['connection']['password'] : '', ));