src/Schema/AbstractTable.php
public function dropIndex(array $columns): AbstractTable
    {
        if (empty($schema = $this->current->findIndex($columns))) {
            throw new SchemaException(
                "Undefined index ['" . join("', '", $columns) . "'] in '{$this->getName()}'"
            );
        }

        //Dropping index from current schema
        $this->current->forgetIndex($schema);

        return $this;
    }
public function dropIndex(array $columns): AbstractTable
    {
        if (empty($schema = $this->current->findIndex($columns))) {
            throw new SchemaException(
                "Undefined index ['" . join("', '", $columns) . "'] in '{$this->getName()}'"
            );
        }

        //Dropping index from current schema
        $this->current->forgetIndex($schema);

        return $this;
    }
public function dropIndex ( array $ columns ) : AbstractTable { if ( empty ( $ schema = $ this -> current -> findIndex ( $ columns ) ) ) { throw new SchemaException ( "Undefined index ['" . join ( "', '" , $ columns ) . "'] in '{$this->getName()}'" ) ; } //Dropping index from current schema $ this -> current -> forgetIndex ( $ schema ) ; return $ this ; }
Drop index by it's forming columns.

@param array $columns
@return self

@throws SchemaException
Drop index by it s forming columns .