”2016-08-31”

This commit is contained in:
Martin Donnelly 2016-08-31 16:45:04 +01:00
parent 5daa84ba77
commit 3e03f8cf42

View File

@ -9,16 +9,17 @@
var pgp = require('pg-promise')(); var pgp = require('pg-promise')();
/*var cn = { var cn = {
host: 'localhost', host: 'localhost',
port: 5432, port: 5432,
database: 'mdot', database: 'mdot',
user: 'postgres', user: 'postgres',
password: '' password: ''
};*/ };
// ElephantSql settings // ElephantSql settings
/*
var cn = { var cn = {
host: 'jumbo.db.elephantsql.com', host: 'jumbo.db.elephantsql.com',
port: 5432, port: 5432,
@ -26,6 +27,7 @@ var cn = {
user: 'amlrxqev', user: 'amlrxqev',
password: 'K11cvCplk0--oNafsYj4ISN-rVQmVS3y' password: 'K11cvCplk0--oNafsYj4ISN-rVQmVS3y'
}; };
*/
exports.dbConnection = pgp(cn); exports.dbConnection = pgp(cn);