src/Phinx/Db/Table.php
public function removeIndex($columns)
    {
        $action = DropIndex::build($this->table, is_string($columns) ? [$columns] : $columns);
        $this->actions->addAction($action);

        return $this;
    }
public function removeIndex($columns)
    {
        $action = DropIndex::build($this->table, is_string($columns) ? [$columns] : $columns);
        $this->actions->addAction($action);

        return $this;
    }
public function removeIndex ( $ columns ) { $ action = DropIndex :: build ( $ this -> table , is_string ( $ columns ) ? [ $ columns ] : $ columns ) ; $ this -> actions -> addAction ( $ action ) ; return $ this ; }
Removes the given index from a table.

@param string|array $columns Columns
@return \Phinx\Db\Table
Removes the given index from a table .