Hi, I am using the new version of Prisma which is the version 7 it has new config and it looks like I've that correct configured, now, when I use the URLS from Supabase: connect/ORMs and I run a migration it just shows me: Loaded Prisma config from prisma.config.ts.
Prisma schema loaded from prisma/schema.prisma. Datasource "db": PostgreSQL database "postgres", schema "public" at "db.[DB].supabase.co:5432"
and it does not do nothing I was waiting long and nothing, so what I did is to use the value of DIRECT_URL for DATABASE_URL and the value of DATABASE_URL for DIRECT_URL basically I inverted the values and it works, but I am not sure if this is ok. I would like to know if there is a workaround for this case, thanks?
And btw, PrismaV7 is not happy with
url
url
and
directUrl
directUrl
here anymore: datasource db { provider = "postgresql" url = env("DATABASE_URL") directUrl = env("DIRECT_URL") } Is the documentation maybe outdated? Thanks.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.