Blocked by FIXME

This commit is contained in:
secretspecter 2024-01-04 19:54:13 -07:00
parent 4846b22cd1
commit db6253cd04
4 changed files with 1503 additions and 6133 deletions

6
.editorconfig Normal file
View file

@ -0,0 +1,6 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_size = 4
indent_style = space

7625
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,8 +26,9 @@
"knex": "^2.4.0", "knex": "^2.4.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"mysql": "^2.18.1",
"nodemailer": "^6.6.1", "nodemailer": "^6.6.1",
"pg": "^8.11.3",
"pg-native": "^3.0.1",
"prom-client": "^13.1.0", "prom-client": "^13.1.0",
"proxy-addr": "^2.0.6", "proxy-addr": "^2.0.6",
"pug": "^3.0.2", "pug": "^3.0.2",

View file

@ -73,6 +73,8 @@ module.exports.init = function (newDB) {
} else { } else {
db = new Database(); db = new Database();
} }
// FIXME Initial database connection failed: error: select 1 from dual
// relation "dual" does not exist
db.knex.raw('select 1 from dual') db.knex.raw('select 1 from dual')
.catch(error => { .catch(error => {
LOGGER.error('Initial database connection failed: %s', error.stack); LOGGER.error('Initial database connection failed: %s', error.stack);