Fixed custom field sql type