We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d88aee8 commit a6a1d1cCopy full SHA for a6a1d1c
1 file changed
config/database.yml
@@ -82,12 +82,13 @@ test:
82
# SAFETY: NEVER use DATABASE_URL in test - ALWAYS localhost only
83
# This is hardcoded to prevent accidental production database access
84
database: prostaff_api_test
85
- host: localhost
+ host: 127.0.0.1
86
port: 5432
87
username: postgres
88
- password: password
+ password: postgres
89
# Explicitly ignore DATABASE_URL for test environment
90
- url: postgresql://postgres:password@localhost:5432/prostaff_api_test
+ # Using 127.0.0.1 instead of localhost to avoid IPv6 issues in CI
91
+ url: postgresql://postgres:postgres@127.0.0.1:5432/prostaff_api_test
92
93
# As with config/credentials.yml, you never want to store sensitive information,
94
# like your database password, in your source code. If your source code is
0 commit comments