public function setColumn($name, $type, $nullDefault = false) {
        $this->columns[$name] = $this->createColumnDef($type, $nullDefault);

        return $this;
    }
public function setColumn($name, $type, $nullDefault = false) {
        $this->columns[$name] = $this->createColumnDef($type, $nullDefault);

        return $this;
    }
public function setColumn ( $ name , $ type , $ nullDefault = false ) { $ this -> columns [ $ name ] = $ this -> createColumnDef ( $ type , $ nullDefault ) ; return $ this ; }
Define a column.

@param string $name The column name.
@param string $type The column type.
@param mixed $nullDefault Whether the column is required or it's default.

null|true
: The column is not required.
false
: The column is required.
Anything else
: The column is required and this is its default.
@return TableDef
Define a column .