Reverted commit 6785589a0c according to the previous revert
This commit is contained in:
parent
740dd4c3a6
commit
0347aaccb8
1 changed files with 3 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ EOT
|
|||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$tablesToDelete = $input->getArgument('table');
|
||||
|
||||
|
||||
if ($input->getOption('force'))
|
||||
{
|
||||
$nbTable = count($tablesToDelete);
|
||||
|
|
@ -69,7 +69,8 @@ EOT
|
|||
|
||||
try
|
||||
{
|
||||
$connection = $this->getContainer()->get('propel.connection');
|
||||
list($name, $config) = $this->getConnection($input, $output);
|
||||
$connection = \Propel::getConnection($name);
|
||||
|
||||
$showStatement = $connection->prepare('SHOW TABLES;');
|
||||
$showStatement->execute();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue