You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model User {
id String @default(cuid()) @id
processes BpmnProcessInstance[] @relation(name: "ProcessOwner", onDelete: CASCADE)
}
model BpmnProcessInstance {
id String @default(cuid()) @id
owner User @relation(name: "ProcessOwner")
}
When this is lifted to Postgres DB, the Foreign Key is NOT set to CASCADE, but SET NULL.
Activity
tomitrescak commentedon Oct 22, 2019
This is what is generated
pantharshit00 commentedon Oct 22, 2019
Hi,
Thanks for reporting. This hasn't been implemented yet. I am closing as a duplicate of https://github.com/prisma/prisma2/issues/267
tomitrescak commentedon Oct 22, 2019
Hmm, I searched for a related issue, not sure how it escaped my search. Thanks, I'll follow that thread!
feat(postgres): native UUID storage type and String/Native uuid prese…