public function dropIndex($columnName) {
        if (!in_array($columnName, $this->dropIndexes))
                $this->dropIndexes[] = $columnName;

        if (array_key_exists($columnName, $this->getReferences()))
                $this->dropReference($columnName);
        return $this;
    }
public function dropIndex($columnName) {
        if (!in_array($columnName, $this->dropIndexes))
                $this->dropIndexes[] = $columnName;

        if (array_key_exists($columnName, $this->getReferences()))
                $this->dropReference($columnName);
        return $this;
    }
public function dropIndex ( $ columnName ) { if ( ! in_array ( $ columnName , $ this -> dropIndexes ) ) $ this -> dropIndexes [ ] = $ columnName ; if ( array_key_exists ( $ columnName , $ this -> getReferences ( ) ) ) $ this -> dropReference ( $ columnName ) ; return $ this ; }
Removes index from a column
@param string $columnName
@return Table
Removes index from a column