src/Database.php
public function dropTables(array $tables): bool
    {
        $success = true;

        if ($this->configurator->getEngine() === 'sqlite') {
            foreach ($tables as $table) {
                $sql = 'DROP TABLE IF EXISTS ' . $table;
                if ($this->exec($sql) === false) {
                    $success = false;
                }
            }

            return $success;
        }

        $tables = \implode(',', $tables);

        $sql = 'DROP TABLE IF EXISTS ' . $tables;
        $success = $this->exec($sql);

        return $success;
    }
public function dropTables(array $tables): bool
    {
        $success = true;

        if ($this->configurator->getEngine() === 'sqlite') {
            foreach ($tables as $table) {
                $sql = 'DROP TABLE IF EXISTS ' . $table;
                if ($this->exec($sql) === false) {
                    $success = false;
                }
            }

            return $success;
        }

        $tables = \implode(',', $tables);

        $sql = 'DROP TABLE IF EXISTS ' . $tables;
        $success = $this->exec($sql);

        return $success;
    }
@param array $tables

@throws DatabaseException

@return bool