mirror of
https://github.com/originalmk/skrytka-app.git
synced 2024-11-20 10:28:50 +00:00
18 lines
289 B
JavaScript
18 lines
289 B
JavaScript
|
require('dotenv').config();
|
||
|
|
||
|
module.exports = {
|
||
|
client: 'postgresql',
|
||
|
connection: {
|
||
|
database: `${process.env.DB_NAME}` ,
|
||
|
user: `${process.env.DB_USER}`,
|
||
|
password: `${process.env.DB_PASS}`
|
||
|
},
|
||
|
pool: {
|
||
|
min: 2,
|
||
|
max: 10
|
||
|
},
|
||
|
migrations: {
|
||
|
tableName: 'knex_migrations'
|
||
|
}
|
||
|
};
|