Help, how do I do this?
Each user has multiple workspaces. However, a user can only be using one workspace at a time (active workspaceId)
4 Replies
(here's the error on the squiggly lines:)
the error contains the answer
Prisma
Relations (Reference)
A relation is a connection between two models in the Prisma schema. This page explains how you can define one-to-one, one-to-many and many-to-many relations in Prisma.
Thank you. This is what I did:
I think I solved it