src/ORM/DB.php
public static function create_field($table, $field, $spec)
    {
        return self::get_schema()->createField($table, $field, $spec);
    }
public static function create_field($table, $field, $spec)
    {
        return self::get_schema()->createField($table, $field, $spec);
    }
public static function create_field ( $ table , $ field , $ spec ) { return self :: get_schema ( ) -> createField ( $ table , $ field , $ spec ) ; }
Create a new field on a table.
@param string $table Name of the table.
@param string $field Name of the field to add.
@param string $spec The field specification, eg 'INTEGER NOT NULL'
Create a new field on a table .