Skip to content

Commit

Permalink
Recognize 'int' SQL type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyshch committed Sep 28, 2023
1 parent 0d8a0a1 commit f2552fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ejabberd_sql_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f2552fa

Please sign in to comment.