mirror of https://github.com/calzoneman/sync.git
Upgrade knex
This commit is contained in:
parent
4d3c90f5ee
commit
40b5a0fe83
|
@ -25,7 +25,7 @@
|
||||||
"express-minify": "^1.0.0",
|
"express-minify": "^1.0.0",
|
||||||
"graceful-fs": "^4.1.2",
|
"graceful-fs": "^4.1.2",
|
||||||
"json-typecheck": "^0.1.3",
|
"json-typecheck": "^0.1.3",
|
||||||
"knex": "^0.14.3",
|
"knex": "^0.20.3",
|
||||||
"lodash": "^4.17.5",
|
"lodash": "^4.17.5",
|
||||||
"morgan": "^1.6.1",
|
"morgan": "^1.6.1",
|
||||||
"mysql": "^2.9.0",
|
"mysql": "^2.9.0",
|
||||||
|
|
|
@ -42,8 +42,7 @@ class Database {
|
||||||
},
|
},
|
||||||
pool: {
|
pool: {
|
||||||
min: Config.get('mysql.pool-size'),
|
min: Config.get('mysql.pool-size'),
|
||||||
max: Config.get('mysql.pool-size'),
|
max: Config.get('mysql.pool-size')
|
||||||
refreshIdle: false
|
|
||||||
},
|
},
|
||||||
debug: !!process.env.KNEX_DEBUG
|
debug: !!process.env.KNEX_DEBUG
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue