Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
simcaq-node
Commits
fd07e701
Commit
fd07e701
authored
1 year ago
by
Fernando Gbur dos Santos
Browse files
Options
Downloads
Patches
Plain Diff
[REMOVE] postgres.js deleted from git
parent
5c4d1a64
No related branches found
No related tags found
2 merge requests
!379
homologa -> master
,
!378
dev -> homologa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/libs/db/postgres.js
+0
-22
0 additions, 22 deletions
src/libs/db/postgres.js
with
0 additions
and
22 deletions
src/libs/db/postgres.js
deleted
100644 → 0
+
0
−
22
View file @
5c4d1a64
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment