Hi Prisma Family.:wave: - I have added a model *s...
# orm-help
i
Hi Prisma Family.👋 • I have added a model special_password and the migration was created successfully on the local database. • The migration file also generated and the migration record is also created in the database and the applied field is also set as 1 i.e true. • When I try to use findFirst() on this model, it throws me this error : `"\nInvalid 
prisma.special_password.findFirst()
 invocation:\n\n\n  Failed to validate the query: 
Field does not exist on enclosing type.
 at `Query.findFirstspecial_password`"` • Even the prisma studio is showing the record of this table. I have also updated prisma from "3.2.1" to "3.9.1" but it still fails. I also cleaned my npm cache but still the same error. Also used prisma db push and prisma db pull commands but its says The database is already synced. Prisma Query:
Copy code
await prisma.special_password.findFirst({
    where: {
      password: req.body.password,
    },
  })
• And If I try to call .delete( ) method it throws: `nUnknown arg 
password
 in where.password for type special_passwordWhereUniqueInput. Available args:\n\ntype special_passwordWhereUniqueInput {\n  id?: Int\n}\n\n\n    at Object.validate` It means the query is not considering password as the field of this model. But inside vscode, the password field is provided as a hint which means that this field is supported but when the query is ran, it throws error.
Hi @Ryan Can you please tell me a solution for it. Thanking is advance