public function dropForeignKey($name)
    {
        if (!$this->hasForeignKey($name)) {
            throw SchemaException::tableForeignKeyDoesNotExist($this->getName(), $name);
        }

        unset($this->foreignKeys[$name]);
    }
public function dropForeignKey($name)
    {
        if (!$this->hasForeignKey($name)) {
            throw SchemaException::tableForeignKeyDoesNotExist($this->getName(), $name);
        }

        unset($this->foreignKeys[$name]);
    }
public function dropForeignKey ( $ name ) { if ( ! $ this -> hasForeignKey ( $ name ) ) { throw SchemaException :: tableForeignKeyDoesNotExist ( $ this -> getName ( ) , $ name ) ; } unset ( $ this -> foreignKeys [ $ name ] ) ; }
Drops a foreign key.

@param string $name The foreign key name.

@throws \Fridge\DBAL\Exception\SchemaException If the foreign key does not exist.
Drops a foreign key .