Fixed bug on database create

This commit is contained in:
William DURAND 2011-08-18 12:15:04 +02:00
commit bd3c8559b6

View file

@ -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();