diff --git a/Command/DatabaseCreateCommand.php b/Command/DatabaseCreateCommand.php index 5cf4615..b20cd7b 100644 --- a/Command/DatabaseCreateCommand.php +++ b/Command/DatabaseCreateCommand.php @@ -41,7 +41,7 @@ class DatabaseCreateCommand extends PhingCommand try { \Propel::setConfiguration($this->getTemporaryConfiguration($name, $config)); - $connection = \Propel::getConnection(); + $connection = \Propel::getConnection($name); $statement = $connection->prepare($query); $statement->execute();