public function dropColumn($name)
    {
        if (!$this->hasColumn($name)) {
            throw SchemaException::tableColumnDoesNotExist($this->getName(), $name);
        }

        unset($this->columns[$name]);
    }
public function dropColumn($name)
    {
        if (!$this->hasColumn($name)) {
            throw SchemaException::tableColumnDoesNotExist($this->getName(), $name);
        }

        unset($this->columns[$name]);
    }
public function dropColumn ( $ name ) { if ( ! $ this -> hasColumn ( $ name ) ) { throw SchemaException :: tableColumnDoesNotExist ( $ this -> getName ( ) , $ name ) ; } unset ( $ this -> columns [ $ name ] ) ; }
Drops a column.

@param string $name The column name.

@throws \Fridge\DBAL\Exception\SchemaException If the column does not exist.
Drops a column .