But not sure how I should do the preparation. It's basically a many-to-many, so I guess my preparation has to do the join? Do I need a primary key, or can I use the two ids of the other resources as primary keys (like for other many-many resources?)
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.