From 2e6f4187c58de5d3284f3439c7afb78aa13353db Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Fri, 6 May 2016 09:39:37 +0200 Subject: [PATCH] upgrade knex --- .vscode/settings.json | 4 ++++ lib/dbPool.js | 5 ++++- package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..e1a0c21f0e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +// Place your settings in this file to overwrite default and user settings. +{ + "files.autoSave": "onFocusChange" +} \ No newline at end of file diff --git a/lib/dbPool.js b/lib/dbPool.js index 2ef8ffc5a9..5c7cb0ff29 100644 --- a/lib/dbPool.js +++ b/lib/dbPool.js @@ -42,7 +42,10 @@ function createDbPool() { return knex({ client: 'pg', connection: isTestEnv() ? getTestDatabaseUrl() : getDatabaseUrl(), - pool: { min: 2, max: 20 } + pool: { + min: 2, + max: 20 + } }); } diff --git a/package.json b/package.json index ddb44211ff..af8e718853 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "ini": "1.3.3", "jsx-loader": "0.12.2", "jsxhint": "0.13.2", - "knex": "^0.10.0", + "knex": "^0.11.0", "lodash": "^3.5.0", "log4js": "0.6.22", "moment": "^2.11.2",