Commit 093d139
fix: remove schema parameter from cache-db DATABASE_URL for E2E
The tj-actions/pg-dump and pg-restore actions pass the DATABASE_URL
directly to libpq, which doesn't support Prisma's ?schema= parameter.
This was causing the cache step to fail with 'invalid connection option
schema' on cache misses.
This fix passes a clean DATABASE_URL (without schema parameter) to the
cache-db action for pg_dump/pg_restore operations. The db-seed step
will still use the job-level DATABASE_URL environment variable which
includes the schema parameter, so Prisma operations work correctly.
Each E2E shard still has a unique cache path to prevent collisions.
Co-Authored-By: Volnei Munhoz <[email protected]>1 parent fcb95eb commit 093d139
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments