import pkg from 'pg'; const { Pool } = pkg const pool = new Pool({ connectionString: process.env.POSTGRES_DB_URL, }); export default pool;