public final function addColumn(
        $name,
        $type,
        $length=null,
        $notnull=false,
        $default=null,
        $autoIncrement=false,
        $comment = null
    )
    {
        return $this->addColumnObject(
            $this->_database->createColumn(
                $name,
                $type,
                $length,
                $notnull,
                $default,
                $autoIncrement,
                $comment
            )
        );
    }
public final function addColumn(
        $name,
        $type,
        $length=null,
        $notnull=false,
        $default=null,
        $autoIncrement=false,
        $comment = null
    )
    {
        return $this->addColumnObject(
            $this->_database->createColumn(
                $name,
                $type,
                $length,
                $notnull,
                $default,
                $autoIncrement,
                $comment
            )
        );
    }
public final function addColumn ( $ name , $ type , $ length = null , $ notnull = false , $ default = null , $ autoIncrement = false , $ comment = null ) { return $ this -> addColumnObject ( $ this -> _database -> createColumn ( $ name , $ type , $ length , $ notnull , $ default , $ autoIncrement , $ comment ) ) ; }
Add a column using parameters
@param string $name Column name
@param string $type Datatype, one of \Nada\Column\AbstractColumn's TYPE_* constants
@param mixed $length Optional length specification
@param bool $notnull NOT NULL constraint (default: FALSE)
@param mixed $default Default value (DEFAULT: NULL)
@param bool $autoIncrement Auto increment property (default: FALSE)
@param string $comment Column comment (default: NULL)
@return \Nada\Column\AbstractColumn object describing the generated column
Add a column using parameters