The GitHub Actions job ".github/workflows/hamilton-ui-frontend.yml" on 
hamilton.git/stefan/update-package-names has failed.
Run started by GitHub user skrawcz (triggered by skrawcz).

Head commit for run:
dcad1379bcfdae0905c5d191cbaab15ce47c5af6 / Stefan Krawczyk 
<[email protected]>
Fix database credentials in migration scripts

The migration scripts were hardcoded to use 'hamilton' as the database
user and name, but docker-compose.yml uses 'postgres' for both.

This caused the error:
  psql: error: FATAL: role "hamilton" does not exist

Changes:
- migrate_postgres.sh: Use -U postgres -d postgres (was hamilton)
- migrate_postgres_simple.sh: Use -U postgres -d postgres
- UPGRADE.md: Update all example commands to use postgres credentials

The docker-compose.yml configuration:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=password

Backend environment variables match:
- DB_USER=postgres
- DB_NAME=postgres
- DB_PASSWORD=password

Note: start_mini_mode.sh intentionally uses 'hamilton' credentials
as it creates a separate standalone database container for testing.

Fixes: #1488

Report URL: https://github.com/apache/hamilton/actions/runs/22379319604

With regards,
GitHub Actions via GitBox

Reply via email to