PrismaP
Prismaβ€’9mo agoβ€’
5 replies
Rob

Typing issues since V6 upgrade (with output)

I've recently upgraded to V6.7 and I'm having issues with typing. I'm using NextJS and I have my schema.prisma at the root of the project and my output path set to output = "generated". The app starts fine, db connections etc are all good and I see the generated folder is created.

The issue I have is that the app is not picking up changing to the schema - eg: I added a new column "feedback" and the app typing does not pick that up after restarting. Error: feedback' does not exist in type ... . If i remove the output prop everything works as expected with new tyopes being picked up.

I can see the /generated/schema.prisma has the changes so maybe it's the location of the generated folder?

Any ideas / debug tips? πŸ™‚
Was this page helpful?