Hi again!
This looks like a similar problem to when you need to migrate a database that has connection pooling.
I think if you follow the prisma doc, it should solve your issue. What they’re saying is essentially, you use the prisma://
connection string when you build your app, but use the direct postgres://
when you are running a migrate. It is essentially the same process as I described here for supabase [Guide] Migrations & Connection Pool URLs (Supabase)
Hope this helps!