Whenever you modify your Prisma schema, you have two ways of updating Vercel's schema.
Add a vercel-build
script.
Redeploy the latest Vercel Deployment unchecking "Redeploy with existing Build Cache.".
Otherwise you could get errors in production like:
If you have this error, make sure that your Database provider is on the same region as your Vercel Deployment.
I hope this quick guide was useful! Let me know if you have any questions.
We respect your privacy. We respect your personal privacy.
This website uses cookies to help personalize your online experience. Learn more. This website uses cookies to help personalize your online experience. A cookie is a text file that is placed on your hard disk by a web page server. Learn more