From 586fe8d2a72ed8889c27eef5aa5165c29b33b70e Mon Sep 17 00:00:00 2001 From: Jugurtha Bouhadoun Date: Fri, 5 Jul 2024 09:59:14 +0200 Subject: [PATCH] use temp table to improve perf --- lib/util/sequelize.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/util/sequelize.js b/lib/util/sequelize.js index 835fd8c3..b65eb6e8 100644 --- a/lib/util/sequelize.js +++ b/lib/util/sequelize.js @@ -4,15 +4,12 @@ const {POSTGRES_BAN_USER, POSTGRES_BAN_PASSWORD, POSTGRES_DB, POSTGRES_URL} = pr const POSTGRES_PORT = process.env.POSTGRES_PORT || 5432 // Create a new Sequelize instance - -/* eslint-disable unicorn/numeric-separators-style */ export const sequelize = new Sequelize(POSTGRES_DB, POSTGRES_BAN_USER, POSTGRES_BAN_PASSWORD, { host: POSTGRES_URL, port: POSTGRES_PORT, dialect: 'postgres', logging: false }) -/* eslint-enable */ export const District = sequelize.define('District', { id: {