src/Schema/AbstractTable.php
public function dropColumn(string $column): AbstractTable
    {
        if (empty($schema = $this->current->findColumn($column))) {
            throw new SchemaException("Undefined column '{$column}' in '{$this->getName()}'");
        }

        //Dropping column from current schema
        $this->current->forgetColumn($schema);

        return $this;
    }
public function dropColumn(string $column): AbstractTable
    {
        if (empty($schema = $this->current->findColumn($column))) {
            throw new SchemaException("Undefined column '{$column}' in '{$this->getName()}'");
        }

        //Dropping column from current schema
        $this->current->forgetColumn($schema);

        return $this;
    }
public function dropColumn ( string $ column ) : AbstractTable { if ( empty ( $ schema = $ this -> current -> findColumn ( $ column ) ) ) { throw new SchemaException ( "Undefined column '{$column}' in '{$this->getName()}'" ) ; } //Dropping column from current schema $ this -> current -> forgetColumn ( $ schema ) ; return $ this ; }
Drop column by it's name.

@param string $column
@return self

@throws SchemaException
Drop column by it s name .