From 3df4bde0324f9389a59749847cb5b79dff4bea1f Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 25 Aug 2020 23:12:01 +0200 Subject: [PATCH] Add some log messages, that migrations are in progress --- src/Cache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Cache.cpp b/src/Cache.cpp index 2231aaac..91cde9e7 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp @@ -787,6 +787,7 @@ Cache::runMigrations() }}, }; + nhlog::db()->info("Running migrations, this may take a while!"); for (const auto &[target_version, migration] : migrations) { if (target_version > stored_version) if (!migration()) { @@ -794,6 +795,7 @@ Cache::runMigrations() return false; } } + nhlog::db()->info("Migrations finished."); setCurrentFormat(); return true;