mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 18:06:14 +03:00
Chore: Improve logging during db development
This commit is contained in:
parent
123fca43a1
commit
4ff68238c4
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue