public function importScheme($table, array $scheme)
    {
        if ($this->tableExists($table)) {
            throw new RuntimeException('Table already exists');
        }

        try {
            $this->import($scheme);
        } catch (Exception $ex) {
            $this->deleteTable($table);
            throw new RuntimeException("Failed to import database table $table: " . $ex->getMessage());
        }
    }