mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-24 15:25:36 -04:00
Improve the setup database
This commit is contained in:
parent
d286c534bd
commit
e26abc3156
11 changed files with 122 additions and 136 deletions
|
@ -209,6 +209,7 @@ class Database {
|
|||
});
|
||||
|
||||
await connection.execute("CREATE DATABASE IF NOT EXISTS " + dbConfig.dbName + " CHARACTER SET utf8mb4");
|
||||
connection.end();
|
||||
|
||||
config = {
|
||||
client: "mysql2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue