mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-27 00:59:23 +08:00
Merge pull request #186 from chakflying/patch-3
Chore: Improve logging during db development
This commit is contained in:
@@ -41,6 +41,8 @@ class Database {
|
|||||||
|
|
||||||
if (version === this.latestVersion) {
|
if (version === this.latestVersion) {
|
||||||
console.info("Database no need to patch");
|
console.info("Database no need to patch");
|
||||||
|
} else if (version > this.latestVersion) {
|
||||||
|
console.info("Warning: Database version is newer than expected");
|
||||||
} else {
|
} else {
|
||||||
console.info("Database patch is needed")
|
console.info("Database patch is needed")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user