Standardizing db integer types