Merge pull request #186 from chakflying/patch-3

Chore: Improve logging during db development
This commit is contained in:
Louis Lam 2021-08-08 19:24:50 +08:00 committed by GitHub
commit b3721e03a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")