Updated prod db config to sqlite
This commit is contained in:
parent
0a8a5c1fba
commit
8ea9478a10
10
knexfile.js
10
knexfile.js
|
@ -10,15 +10,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
production: {
|
production: {
|
||||||
client: 'postgresql',
|
client: 'sqlite3',
|
||||||
connection: {
|
connection: {
|
||||||
database: 'my_db',
|
filename: './db.sqlite3'
|
||||||
user: 'username',
|
|
||||||
password: 'password'
|
|
||||||
},
|
|
||||||
pool: {
|
|
||||||
min: 2,
|
|
||||||
max: 10
|
|
||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
tableName: 'knex_migrations'
|
tableName: 'knex_migrations'
|
||||||
|
|
Loading…
Reference in New Issue