PrismaP
Prisma17mo ago
3 replies
DennisK

Supabase with Pulse and Accelerate

Hi! I am setting op Supabase in combination with Fly, Pulse and Accelerate. I received two URLS:

A connection pooler URL
A direct URL

I have set this in the schema like this

url               = env("DATABASE_POOLER_URL")
directUrl         = env("DATABASE_URL")


However, I used the direct url (the one with port 5432) to setup Accelerate and I got back a prisma database url. Should I know replace the direct url with this new prisma://accelerate.prisma-data.net/ ? So it would result in this:

url               = url to connectionpooler Supabase
directUrl         = the prisma://accelerate.prismadata.net url
Was this page helpful?