We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe47d7 commit 75af3a0Copy full SHA for 75af3a0
prisma/schema.prisma
@@ -34,5 +34,5 @@ model Message {
34
phone String
35
message String
36
listingId Int
37
- listing Car @relation(fields: [listingId], references: [id])
+ listing Car @relation(fields: [listingId], references: [id], onDelete: Cascade)
38
}
0 commit comments