dnbkr
08/13/2019, 1:25 AMThe change you are trying to make would violate the required relation 'NotificationToUser' between Notification and User"
here's the relevant part of the datamodel
type User {
notifications: [Notification] @relation(name: "UserNotification" onDelete: CASCADE)
}
type Notification {
recipient: User @relation(name: "UserNotification" onDelete: SET_NULL)
}
using prisma server 3.4 (I think!?)