I have a schema where there is a User model, an Ev...
# prisma-whats-new
w
I have a schema where there is a User model, an Event model, and there is a one to many owner-relationship between Users and Events. How do I enforce the rule thatthe owner of an Event is always the User who created it? I want to make sure User's cant make Events on behalf of other people. Events also have a status. I want to make sure that new Events always start with a specific status. How do I enforce that rule?
n
@wallslide I'll pm you