Prisma migrate dev frozen with Supabase

@PantheRedEye

I just found the solution!

In the Supabase guide (Redwood+Supabase), they seem to make a mistake in the env configuration.

To fix it, just invert the name of the both env vars :

DATABASE_URL is the one with the port 6543 and the params (pgbouncer=true&connection_limit=1).
DIRECT_URL is the on with the port 5432 and no params.

To find it i recheck many times the configuration in the Prisma Guide that is working (Prisma | Works With Supabase)

And that works!

1 Like