diff options
-rw-r--r-- | odb/pgsql/traits.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx index 8308688..7a8df47 100644 --- a/odb/pgsql/traits.hxx +++ b/odb/pgsql/traits.hxx @@ -252,7 +252,7 @@ namespace odb template <> struct default_type_traits<unsigned short> { - static const database_type_id db_type_id = id_integer; + static const database_type_id db_type_id = id_smallint; }; template <> @@ -264,7 +264,7 @@ namespace odb template <> struct default_type_traits<unsigned int> { - static const database_type_id db_type_id = id_bigint; + static const database_type_id db_type_id = id_integer; }; template <> |