Hello everyone, I’m facing this very weird issue w...
# orm-help
m
Hello everyone, I’m facing this very weird issue where I did the following: 1. Introduced a new optional Int field to an existing Prisma server 2. Now I want to run a manual migration by using “updateMany” mutation and I get an error “<field> is not defined in the input type” However, I can see that field defined in Playground. Moreover, I am able to run a regular update mutation (not a batch one) on a single item. Also, I am able to run this batch mutation with a local docker. Have any of you encountered this type of behaviour? This is really weird.
✅ 1
👍 1
n
it sounds like an outdated schema 🙂
Now I want to run a manual migration by using “updateMany” mutation
how exactly are you trying that? Is it a
curl
statement, are you using a specific library to do so?
m
@nilan it did sound like an outdated schema but I’m seeing the field in Playground doc + I can execute a one-of update via
update<ModelName>
mutation. I’m running everything in Playground
n
can you share your service endpoint?
we resolved this in PM