DatabaseField.php
public static function createVarchar($name, $size)
    {
        $field = new DatabaseField($name, self::TYPE_VARCHAR);
        $field->m_constraint = intval($size);
        return $field;
    }
public static function createVarchar($name, $size)
    {
        $field = new DatabaseField($name, self::TYPE_VARCHAR);
        $field->m_constraint = intval($size);
        return $field;
    }
public static function createVarchar ( $ name , $ size ) { $ field = new DatabaseField ( $ name , self :: TYPE_VARCHAR ) ; $ field -> m_constraint = intval ( $ size ) ; return $ field ; }
Create a VARCHAR field
@param string $name - the name to give the field
@param int $size - how many characters the field can hold
@return \iRAP\TableCreator\DatabaseField
Create a VARCHAR field