When ecto associations conflict with phoenix context boundries
If neither belongs_to
nor has_one/has_many
seem to fit your use case maybe take a look at ectos abstract tables.
https://medium.com/@lostkobrakai/phoenix-contexts-and-ecto-abstract-tables-e6b4de93edf
Read next 5 reasons you should use Phoenix instead of Rails in your next project