The Prisma ORM sits on two totally different databases and you can do the exact same thing in both of them. The way you're trying to do this is not possible with MySQL. If you want to do it this way, you need to create its own model for the roles entirely. So you have to have it a roles model.
In this episode of Syntax, Wes and Scott talk about the benefits and potential drawbacks of using an ORM on your next project, as well as what some of the popular ORMs are.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats