From f12734b7c5760801891edba87716100dba0dd35c Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 9 Jan 2024 13:27:28 +0100 Subject: [PATCH] DEBUG --- src/ejabberd_sql_schema.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ejabberd_sql_schema.erl b/src/ejabberd_sql_schema.erl index a4eaea0b2b1..b3a878fd5c1 100644 --- a/src/ejabberd_sql_schema.erl +++ b/src/ejabberd_sql_schema.erl @@ -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; @@ -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.