sveltekit Postgres and Prisma 7 upgrade Database schema not used in connection url
Hi
after migration to Prisma 7 I ve adjusted my db connection code according to the Prisma guide:
My databaseurl includes a DB Schema:
postgresql://postgres:<passwoerd>@test-db:5432/testdb?schema=fitzbek
If I try to connect getting error which indicates that default schema public is used, how may I correctly specify which db schema to be used ?
and as an additional information... Schema name is not the same for all environments I am deploying to. I need a somehow dynamic solution
after migration to Prisma 7 I ve adjusted my db connection code according to the Prisma guide:
My databaseurl includes a DB Schema:
postgresql://postgres:<passwoerd>@test-db:5432/testdb?schema=fitzbek
If I try to connect getting error which indicates that default schema public is used, how may I correctly specify which db schema to be used ?
and as an additional information... Schema name is not the same for all environments I am deploying to. I need a somehow dynamic solution
Prisma Postgres