error TS2339: Property 'riskRegister' does not exist on type 'PrismaClient<{ log: "query"[]; }, neve
Hello team, I am new in Prisma ORM, I am currently working on the project where I use NodeJs to build backend, locally I used Docker as my db, when I deploy for development (to allow other devs to test the API) I used render for deployment and database I created on Render Postgres, first when I was working on user model, everything went fine but when I push other feature and deploy, I got the error shown on the screenshot but locally everything is working fine.
Please help me on how to solve the issue.

3 Replies
Is
prisma generate
command part of your build step?
I assume you would have added riskRegister
field recently but your generated PrismaClient won't have that fieldSeems to deploy successfully after I added
prisma generate
thank youI am glad to hear that! 😄