1 nota · última: 5 Jul 2020
The post shows how to model a many-to-many relation in Phoenix/Ecto with a join table, schema associations, a like action, and a query that marks whether each comment is liked by the current user.