Vercel postgres + Prisma migrate

I got a super simple setup using Vercel's Postgres services, when running prisma migrate dev I do however get stuck with the following error:
Error: ERROR: database "prisma_migrate_shadow_db_ff837554-d59a-4816-be77-e2cd7b0cb73b" is being accessed by other users
DETAIL: There are 2 other sessions using the database.
Error: ERROR: database "prisma_migrate_shadow_db_ff837554-d59a-4816-be77-e2cd7b0cb73b" is being accessed by other users
DETAIL: There are 2 other sessions using the database.
Searching around the web is not making me much wiser when it comes to Vercel's services specifically on how to resolve the issue. Does anyone happen to have any insight or ideas on how to resolve the issue? Cheers!
1 Reply
Grimbo
Grimbo13mo ago
my URL had -pooler in the connection url. After removing it from the URL to use Neon's non pooled url it worked.
Want results from more Discord servers?
Add your server