diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-08-25 23:12:01 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-08-25 23:12:01 +0200 |
commit | 3df4bde0324f9389a59749847cb5b79dff4bea1f (patch) | |
tree | 7d9e8802bfec6dfa31532a24f1dca017fcf6f495 /src/Cache.cpp | |
parent | Speedup db a bit, but loose some crash resiliency (diff) | |
download | nheko-3df4bde0324f9389a59749847cb5b79dff4bea1f.tar.xz |
Add some log messages, that migrations are in progress
Diffstat (limited to 'src/Cache.cpp')
-rw-r--r-- | src/Cache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |