def fix_sqltype(sqltype):
    """Fix `sqltype` string. Force uppercase string and
    change 'FLOAT' -> 'REAL'.

    Parameters
    ----------
    sqltype : str

    Returns
    -------
    st : string
    """
    st = sqltype.upper()
    if st == 'FLOAT':
        st = 'REAL'
    return st