It's not clear to me how to delete a many to many association in Ecto. I do not want to delete the associated structures, just the relationship.
My first attempt was to find the association in join_through table and delete it, but there is no primary key so Repo.delete
fails.
Repo.delete_all/2
with a query on the join table and both foreign keys? – Martin Svalin