10 lines
208 B
JavaScript
10 lines
208 B
JavaScript
|
const db = require('settings/config').DATABASE;
|
||
|
|
||
|
module.exports = new require('pg').Pool({
|
||
|
database: db.DBNAME,
|
||
|
user: db.USERNAME,
|
||
|
password: db.PASSWORD,
|
||
|
host: db.HOST,
|
||
|
port: db.PORT,
|
||
|
});
|