You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
325 B
JavaScript

"use strict";
const url = require("url");
const config = require("./config.json");
module.exports = {
client: "pg",
// debug: true,
connection: {
connectionString: url.format({
protocol: "socket",
slashes: false,
pathname: config.database.socket,
query: {
db: config.database.database
}
})
}
};