© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4w ago•
1 reply
Gil

Migrate Command not working

🔢DB Connections
I recently started using Supabase.

I'm currently working on a NestJS project with the Prisma ORM, version 7.

However, the database connection to Prisma is outdated, since with Prisma 7 you now put the URL configurations in a separate file, prisma.config.ts.

So, I found a tutorial that explained how to connect to Prisma 7 and Supabase; basically, it reversed the URLs:

DatabaseURL is the URL with port 5432

and DirectURL is the URL with port 6543

This was the only way that worked for me to connect and use commands like
npx prisma db push
npx prisma db push
.

However, commands like
npx prisma migrate dev
npx prisma migrate dev
get stuck here:

Loaded Prisma config from prisma.config.ts.
Loaded Prisma config from prisma.config.ts.

Prisma schema loaded from prisma\schema.prisma.
Prisma schema loaded from prisma\schema.prisma.

Datasource "db": PostgreSQL database "postgres", schema "public" ...
Datasource "db": PostgreSQL database "postgres", schema "public" ...


And it doesn't get past this part. Does anyone know how to solve it?
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

RLS not working? Wrong Command?
SupabaseSSupabase / help-and-questions
4y ago
SQL Editor UPDATE command not working...
SupabaseSSupabase / help-and-questions
3y ago
Migrate project
SupabaseSSupabase / help-and-questions
3mo ago
Migrate Database
SupabaseSSupabase / help-and-questions
4mo ago