Improved commands
This commit is contained in:
parent
4f1cc4ce05
commit
35a56e8ca8
6 changed files with 16 additions and 6 deletions
|
|
@ -33,6 +33,8 @@ class DatabaseCreateCommand extends PhingCommand
|
|||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->writeSection($output, '[Propel] You are running the command: propel:database:create');
|
||||
|
||||
list($name, $config) = $this->getConnection($input, $output);
|
||||
$dbName = $this->parseDbName($config['connection']['dsn']);
|
||||
$query = 'CREATE DATABASE '. $dbName .';';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue