Skip to content
Snippets Groups Projects
Commit fd07e701 authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

[REMOVE] postgres.js deleted from git

parent 5c4d1a64
No related branches found
No related tags found
2 merge requests!379homologa -> master,!378dev -> homologa
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment