Relation not included in the generated types
Hello,
I have the following model, generated from a database-first approach.
The query:
...returns the following data:
Unfortunately, the generated Prisma type does not include the relation "projects". This means, the following typing does not include the relation.
Any idea why that is?
I have the following model, generated from a database-first approach.
The query:
...returns the following data:
Unfortunately, the generated Prisma type does not include the relation "projects". This means, the following typing does not include the relation.
const entries: Entry[] = await prisma.entry.findMany({ ... })Any idea why that is?