public function renameTable($table, $newName)
    {
        $cmdPromise = $this->createCommand()->renameTable($table, $newName)->execute();
        return $this->execPromise($cmdPromise, "rename table $table to $newName");
    }