From fd07e701014186b9dd6e2f72010071ef0e45050e Mon Sep 17 00:00:00 2001
From: fgs21 <fgs21@inf.ufpr.br>
Date: Tue, 3 Oct 2023 11:23:20 -0300
Subject: [PATCH] [REMOVE] postgres.js deleted from git

---
 src/libs/db/postgres.js | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 src/libs/db/postgres.js

diff --git a/src/libs/db/postgres.js b/src/libs/db/postgres.js
deleted file mode 100644
index f63f95b7..00000000
--- a/src/libs/db/postgres.js
+++ /dev/null
@@ -1,22 +0,0 @@
-const Sequelize = require('sequelize');
-
-const dbConfig = {
-    database: 'simcaq_adm',
-    username: 'simcaq',
-    password: 'simcaq',
-    host: '200.17.202.97', 
-    port: 5432,        
-    dialect: 'postgres',
-  };
-
-const db = new Sequelize(dbConfig)
-
-db.authenticate()
-    .then(() => {
-      console.log('Connection has been established successfully.');
-    })
-    .catch((err) => {
-      console.error('Unable to connect to the database:', err);
-    });
-
-module.exports = db
\ No newline at end of file
-- 
GitLab