© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
3 replies
maurikzio

PrismaV7 + Supabase

🔢DB Connections
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 banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

supabaseKey property is now private from SupabaseClient
SupabaseSSupabase / help-and-questions
3y ago
Supabase Auth: why set supabaseResponse in setAll() again?
SupabaseSSupabase / help-and-questions
3mo ago
SupabaseURL
SupabaseSSupabase / help-and-questions
4y ago
SupabaseAuthState in Flutter
SupabaseSSupabase / help-and-questions
4y ago