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
Modifying enum value in Postgres causes an error #7712
Comments
Thanks for the issue. The error messages aren't clear, we should start by looking into that (there are plans to improve this). |
I'm also seeing this error when I try to convert a String into an enum |
Hi @melissafzhang , thanks for reporting that — could you please open a separate issue? It should be treated as a separate bug. |
@jacktan165 we released improvements to error messages on postgres in 2.26.0 — can you see if it addresses the bad error message problem for you? Issue: #7908 |
ping @jacktan165 |
i have same problem. any solution? |
Open a new issue and describe your problem with all information the issue template asks for. |
Bug description
I removed LOW_FOODMAP and that error occurs.
When you try to run a SQL query that involves that enum you get this error
If I run
prisma db push
I get this:How to reproduce
prisma migrate dev
Expected behavior
No response
Prisma information
This is the schema:
to
migration.sql
Prisma Version
The text was updated successfully, but these errors were encountered: