|
|
@ -29,7 +29,7 @@ module.exports = function(state) {
|
|
|
|
create: function createPostgreSQLBackend(options) {
|
|
|
|
create: function createPostgreSQLBackend(options) {
|
|
|
|
let knex = knexLibrary({
|
|
|
|
let knex = knexLibrary({
|
|
|
|
client: "pg",
|
|
|
|
client: "pg",
|
|
|
|
pool: { min: 0, max: 32 },
|
|
|
|
pool: { min: 0, max: 32, ... defaultValue(options.pool, {}) },
|
|
|
|
migrations: { tableName: "srap_knex_migrations" },
|
|
|
|
migrations: { tableName: "srap_knex_migrations" },
|
|
|
|
connection: options,
|
|
|
|
connection: options,
|
|
|
|
... knexSnakeCaseMappers()
|
|
|
|
... knexSnakeCaseMappers()
|
|
|
|