Relation field not appearing in model.createMany
Help would be appreciated, thanks. Yes I've run
npx prisma generate.
npx prisma generate//schema:
model ProjectPage {
id String @id @default(auto()) @map("_id") @db.ObjectId
//this does not appear as shown in the photo
stages ProjectStage[]
pageName String
Project Project @relation(fields: [projectId], references: [id])
projectId String @db.ObjectId
lastUpdatedAt DateTime @default(now())
}