Fixed CS
This commit is contained in:
parent
0347aaccb8
commit
e463a8bcd8
4 changed files with 61 additions and 70 deletions
|
|
@ -43,8 +43,9 @@ class DatabaseCreateCommand extends PhingCommand
|
|||
\Propel::setConfiguration($this->getTemporaryConfiguration($name, $config));
|
||||
$connection = \Propel::getConnection();
|
||||
|
||||
$statement = $connection->prepare($query);
|
||||
$statement = $connection->prepare($query);
|
||||
$statement->execute();
|
||||
|
||||
$output->writeln(sprintf('<info><comment>%s</comment> has been created.</info>', $dbName));
|
||||
} catch (\Exception $e) {
|
||||
$output->writeln(sprintf('<error>An error has occured: %s</error>', $e->getMessage()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue