upgrading pg-promise to 8.4.0 (#4736)

This commit is contained in:
Vitaly Tomilov
2018-05-01 18:27:29 +01:00
committed by Florent Vilmart
parent d48b30c734
commit a1f5f37af7
2 changed files with 3 additions and 11 deletions

View File

@@ -6,22 +6,14 @@ const express = require('express');
//public schema
const databaseOptions1 = {
initOptions: {
connect: function (client, dc, isFresh) {
if (isFresh) {
client.query('SET search_path = public');
}
}
schema: 'public'
}
};
//not exists schema
const databaseOptions2 = {
initOptions: {
connect: function (client, dc, isFresh) {
if (isFresh) {
client.query('SET search_path = not_exists_schema');
}
}
schema: 'not_exists_schema'
}
};