public function dropForeignKey($name, $table)
    {
        $cmdPromise = $this->createCommand()->dropForeignKey($name, $table)->execute();
        return $this->execPromise($cmdPromise, "drop foreign key $name from table $table");
    }