skrytka-app/knexfile.js

18 lines
289 B
JavaScript
Raw Normal View History

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'
}
};