public function execute()
    {
        $getTablesCommand = new GetTablesCommand();
        $getTablesCommand->setConnection($this->connection);
        $tables = $getTablesCommand->execute();

        $this->preExecute();
        foreach ($tables as $table) {
            $dropTable = new DropTableCommand();
            $dropTable
                ->setTable($table)
                ->cascade()
                ->setConnection($this->connection)
                ->setEventDispatcher($this->dispatcher);
            $this->sql .= $dropTable->getSql();
            $dropTable->execute();
        }
        $this->postExecute();

        return true;
    }
public function execute()
    {
        $getTablesCommand = new GetTablesCommand();
        $getTablesCommand->setConnection($this->connection);
        $tables = $getTablesCommand->execute();

        $this->preExecute();
        foreach ($tables as $table) {
            $dropTable = new DropTableCommand();
            $dropTable
                ->setTable($table)
                ->cascade()
                ->setConnection($this->connection)
                ->setEventDispatcher($this->dispatcher);
            $this->sql .= $dropTable->getSql();
            $dropTable->execute();
        }
        $this->postExecute();

        return true;
    }
{@inheritdoc}