Prisma deleting wrong table?? WHY
Ok, here's what I want to do: I want to delete a EventMaster that is linked to a certain EventException. Here's my query:
FOR SOME REASON, this is deleting my EventException and not my EventMaster. I don't know why... this is scaring me because the query looks solid to me. I do have setup cascade deletes on my EventException, because I do want prisma to delete my
EventException
after I delete the EventMaster
. However, it is not deleting the master at all and only the EventException.
WHy is this happening?1 Reply
Here's my DB model ^^