/** * Add a column using parameters * @param string $name Column name * @param string $type Datatype, one of the \Nada\Column\AbstractColumn::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 **/ 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)); }