Fixed bug on database create
This commit is contained in:
parent
cda1afd993
commit
bd3c8559b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue