sane format as forecast project

This commit is contained in:
Paul Trowbridge 2020-11-27 01:02:31 -05:00
parent db0261bf45
commit eff31d5a72

View File

@ -1,18 +1,6 @@
const { Pool, Client } = require('pg') const pg = require('pg')
/*
const pool = new Pool({ const client = new pg.Client({
user: 'api',
host: '192.168.1.110',
database: 'ubm',
password: 'qqqx53!028',
port: 5433,
})
pool.query('SELECT NOW()', (err, res) => {
console.log(err, res)
pool.end()
})
*/
const client = new Client({
user: 'api', user: 'api',
host: '192.168.1.110', host: '192.168.1.110',
database: 'ubm', database: 'ubm',