public function dropIndex($name)
    {
        if (!$this->hasIndex($name)) {
            throw SchemaException::tableIndexDoesNotExist($this->getName(), $name);
        }

        unset($this->indexes[$name]);
    }
public function dropIndex($name)
    {
        if (!$this->hasIndex($name)) {
            throw SchemaException::tableIndexDoesNotExist($this->getName(), $name);
        }

        unset($this->indexes[$name]);
    }
public function dropIndex ( $ name ) { if ( ! $ this -> hasIndex ( $ name ) ) { throw SchemaException :: tableIndexDoesNotExist ( $ this -> getName ( ) , $ name ) ; } unset ( $ this -> indexes [ $ name ] ) ; }
Drops an index.

@param string $name The index name.

@throws \Fridge\DBAL\Exception\SchemaException If the index does not exist.
Drops an index .