mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 08:23:46 +08:00
WIP: building database in knex.js
This commit is contained in:
@@ -34,6 +34,9 @@ class SetupDatabase {
|
||||
|
||||
try {
|
||||
dbConfig = Database.readDBConfig();
|
||||
log.info("setup-database", "db-config.json is found and is valid");
|
||||
this.needSetup = false;
|
||||
|
||||
} catch (e) {
|
||||
log.info("setup-database", "db-config.json is not found or invalid: " + e.message);
|
||||
|
||||
|
Reference in New Issue
Block a user