I'm trying to connect to an PostgreSQL 8 and sequelize is printing an error that references pg_range, i think that's something that disable pg_range use on pg library for node
tried this:
my code:
import { Sequelize } from 'sequelize';
import 'dotenv/config';
export default new Sequelize(
process.env.POSTGRES_DB,
process.env.POSTGRES_USERNAME,
process.env.POSTGRES_PASSWORD,
{
host: process.env.POSTGRES_HOST,
dialect: 'postgres',
schema: process.env.POSTGRES_SCHEMA,
port: process.env.POSTGRES_PORT,
standardConformingStrings: false,
dialectOptions: {
disableRange: true,
requestTimeout: 100, // tried something to solve but with no success
},
},
);```
the error :
Unable to connect to the database: error: relation "pg_range" does not exist