diff --git a/script.js b/script.js index 7227b4f..a73d7ca 100644 --- a/script.js +++ b/script.js @@ -1,18 +1,6 @@ -const { Pool, Client } = require('pg') -/* -const pool = new Pool({ - 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({ +const pg = require('pg') + +const client = new pg.Client({ user: 'api', host: '192.168.1.110', database: 'ubm',