Skip to content

Commit a6a1d1c

Browse files
committed
chore: update database 4 workflow run
1 parent d88aee8 commit a6a1d1c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

config/database.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ test:
8282
# SAFETY: NEVER use DATABASE_URL in test - ALWAYS localhost only
8383
# This is hardcoded to prevent accidental production database access
8484
database: prostaff_api_test
85-
host: localhost
85+
host: 127.0.0.1
8686
port: 5432
8787
username: postgres
88-
password: password
88+
password: postgres
8989
# Explicitly ignore DATABASE_URL for test environment
90-
url: postgresql://postgres:password@localhost:5432/prostaff_api_test
90+
# 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
9192

9293
# As with config/credentials.yml, you never want to store sensitive information,
9394
# like your database password, in your source code. If your source code is

0 commit comments

Comments
 (0)