source/core/datasystem/database/MDatabaseTable.php
public function addColumn($name, $type, $length = null)
    {
        $column = new MDatabaseTableColumn($name, $type, $length);
        array_push($this->columns, $column);
    }
public function addColumn($name, $type, $length = null)
    {
        $column = new MDatabaseTableColumn($name, $type, $length);
        array_push($this->columns, $column);
    }
public function addColumn ( $ name , $ type , $ length = null ) { $ column = new MDatabaseTableColumn ( $ name , $ type , $ length ) ; array_push ( $ this -> columns , $ column ) ; }
Adds a new column to the actual database representation.

@param string $name
@param string $type
@param int $length
Adds a new column to the actual database representation .