25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Recognize 'int' SQL type

This commit is contained in:
Alexey Shchepin 2023-09-28 06:19:22 +03:00
parent 0d8a0a1fb8
commit f2552faca8

View File

@ -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;