Hey everybody, I have a question where I can't rea...
# orm-help
j
Hey everybody, I have a question where I can't really wrap my head around how to best model it. I have a Thread model and I have a Feed, Group and Project model. The User, Group and Project model all can have multiple threads attached, but the Thread model can only have a Feed attached OR a Group OR a Project. How would I model this in prisma? Do I just write all model relations on the Thread model as optional?