From 4ff68238c4fb19588627527cf74c14a62e8a8e2a Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Sun, 8 Aug 2021 15:04:20 +0800 Subject: [PATCH] Chore: Improve logging during db development --- server/database.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/database.js b/server/database.js index 8d6d4f5b7..b6e0d93f5 100644 --- a/server/database.js +++ b/server/database.js @@ -41,6 +41,8 @@ class Database { if (version === this.latestVersion) { console.info("Database no need to patch"); + } else if (version > this.latestVersion) { + console.info("Warning: Database version is newer than expected"); } else { console.info("Database patch is needed")