Vercel Neon integration missing non-pool url
The integration only sets pooled URL on the DATABASE_URL and are not adding a second one for non-pool. Making prisma migrations hard to do. This is incredibly annoying on preview builds, as it needs to be added manually to deploy. Does anyone know how to fix this? Or should Neon fix this in their integration?
3 Replies
unwilling-turquoise•2y ago
Hey, I found the same issue this morning. A fix is being implemented. It will hopefully be available later today or tomorrow. Apologies for the inconvenience.
genetic-orange•2y ago
As Daniel says, we'll be adding DATABASE_URL_UNPOOLED soon. For Prisma specifically, take a look the the latest versions, v5.10 and higher. I believe migrations can be carried out via pooled connection (no need to specify a directUrl).
optimistic-goldOP•2y ago
Thanks!