mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:21:03 +08:00
add more query log for dev env
This commit is contained in:
@@ -29,6 +29,10 @@ class Database {
|
||||
}
|
||||
}));
|
||||
|
||||
if (process.env.SQL_LOG === "1") {
|
||||
R.debug(true);
|
||||
}
|
||||
|
||||
// Auto map the model to a bean object
|
||||
R.freeze(true)
|
||||
await R.autoloadModels("./server/model");
|
||||
|
Reference in New Issue
Block a user