src/Phinx/Db/Table.php
public function removeIndexByName($name)
    {
        $action = DropIndex::buildFromName($this->table, $name);
        $this->actions->addAction($action);

        return $this;
    }
public function removeIndexByName($name)
    {
        $action = DropIndex::buildFromName($this->table, $name);
        $this->actions->addAction($action);

        return $this;
    }
public function removeIndexByName ( $ name ) { $ action = DropIndex :: buildFromName ( $ this -> table , $ name ) ; $ this -> actions -> addAction ( $ action ) ; return $ this ; }
Removes the given index identified by its name from a table.

@param string $name Index name
@return \Phinx\Db\Table
Removes the given index identified by its name from a table .