Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Apr 12, 2024
1 parent 41054f6 commit f12734b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ejabberd_sql_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
start(Host) ->
case should_update_schema(Host) of
true ->
?INFO_MSG("SQL Schema: Let's update it!", []), %+++
case table_exists(Host, <<"schema_version">>) of
true ->
ok;
Expand All @@ -59,10 +60,12 @@ start(Host) ->
[Table#sql_table.name, Error]),
{error, Error};
_ ->
?INFO_MSG("SQL Schema: created succesfully", []), %+++
ok
end
end;
false ->
?INFO_MSG("SQL Schema: Option to update it was disabled", []), %+++
ok
end.

Expand Down

0 comments on commit f12734b

Please sign in to comment.