R
R
RxApi
Search…
Basic configuration
1
module.exports = {
2
development: {
3
client: 'sqlite3',
4
connection: {
5
filename: './dev.sqlite3'
6
}
7
},
8
staging: {
9
client: 'postgresql',
10
connection: {
11
database: 'my_db',
12
user: 'username',
13
password: 'password'
14
},
15
pool: {
16
min: 2,
17
max: 10
18
},
19
migrations: {
20
tableName: 'knex_migrations'
21
}
22
},
23
production: {
24
client: 'postgresql',
25
connection: {
26
database: 'my_db',
27
user: 'username',
28
password: 'password'
29
},
30
pool: {
31
min: 2,
32
max: 10
33
},
34
migrations: {
35
tableName: 'knex_migrations'
36
}
37
}
38
};
Copied!
Copy link