Vercel

  • Author
    by Alexandro Martínez
    5 months ago
  • Prisma Schema Changes

    Whenever you modify your Prisma schema, you have two ways of updating Vercel's schema.

    1. Add a vercel-build script.

    2. Redeploy the latest Vercel Deployment unchecking "Redeploy with existing Build Cache.".

    Otherwise you could get errors in production like:

    Schema error

    Errors

    504 Gateway Timeout

    If you have this error, make sure that your Database provider is on the same region as your Vercel Deployment.

    504 Gateway Timeout

    I hope this quick guide was useful! Let me know if you have any questions.

    We respect your privacy.

    This website uses cookies to help personalize your online experience. Learn more.