Blocked by FIXME
This commit is contained in:
parent
4846b22cd1
commit
db6253cd04
6
.editorconfig
Normal file
6
.editorconfig
Normal 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
7625
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue