ref #4884 unify datatype handling in schema updaters