postgresql is numeric and mysql is integer