-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Admin Panel Not Reflecting Prisma Schema Updates After Deploy on Vercel #490
Comments
Hello @setcubillos , When you deploy to Vercel, are you running a script that pushes your schema to your database ? Through |
@setcubillos This is the script that are using |
Can you see the new columns in your database ? In the example app we are doing this in the |
Thanks for the details, we will have a look |
Hi @foyarash Just to let you know, I downgraded to version 6.1.8, to use the JSON schema generator and worked! |
Thanks for this, guess we have an issue with the new generator then, we will investigate |
Description
Hi everyone, how are you doing? I'm facing an issue, and I'm not sure if it's directly related to the framework or Vercel. When I update the schema in Prisma, for example, by adding a new model, after deploying to Vercel, the admin panel doesn’t reflect the changes. To make it work, I have to delete the app on Vercel and recreate it from scratch. In other words, it only detects the changes from the first deploy.
Does anyone have any idea why this might be happening or how to fix it? Thanks in advance!
Reproduction URL
https://github.com/setcubillos/web.rtms
Reproduction steps
Next router
App router
Next Admin version
7.0.1
Screenshots
![DESCRIPTION]()
Next Admin options
No response
Logs
Browsers
Chrome
The text was updated successfully, but these errors were encountered: