setup.sql in the env setup

This commit is contained in:
dal 2025-05-02 16:31:09 -06:00
parent 3f60d13a18
commit e322b6cff9
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
1 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,14 @@ runs:
env:
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:54322/postgres
- name: Seed Database
shell: bash
run: |
# Use hardcoded default credentials for local Supabase
PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -U postgres -d postgres -f ./api/libs/database/setup.sql
env:
DATABASE_URL: postgres://postgres:postgres@127.0.0.1:54322/postgres # Also set here just in case seed script needs it
- name: Seed Database
shell: bash
run: |