UNPKG

683 BJavaScriptView Raw
1module.exports = {
2 local: {
3 client: 'pg',
4 connection: process.env.DATABASE_URL,
5 ssl: false,
6 migrations: {
7 tableName: 'knex_migrations'
8 }
9 },
10 development: {
11 client: 'pg',
12 connection: process.env.DATABASE_URL,
13 ssl: true,
14 migrations: {
15 tableName: 'knex_migrations'
16 },
17 pool: {
18 min: 1,
19 max: 2
20 }
21 },
22 staging: {
23 client: 'pg',
24 connection: process.env.DATABASE_URL,
25 ssl: true,
26 migrations: {
27 tableName: 'knex_migrations'
28 },
29 pool: {
30 min: 1,
31 max: 2
32 }
33 },
34 production: {
35 client: 'pg',
36 connection: process.env.DATABASE_URL,
37 ssl: true,
38 migrations: {
39 tableName: 'knex_migrations'
40 },
41 pool: {
42 min: 1,
43 max: 2
44 }
45 }
46};