diff --git a/src/ejabberd_sql_schema.erl b/src/ejabberd_sql_schema.erl index 8462ef71b..523786b29 100644 --- a/src/ejabberd_sql_schema.erl +++ b/src/ejabberd_sql_schema.erl @@ -280,6 +280,7 @@ string_to_type(SType) -> <<"bigint ", _/binary>> -> bigint; <<"bigint(", _/binary>> -> bigint; <<"integer">> -> integer; + <<"int">> -> integer; <<"int(", _/binary>> -> integer; <<"smallint">> -> smallint; <<"smallint(", _/binary>> -> smallint;