Ecto: seeking advice for table/Schema design - multiple joint tables between two entities

Sounds like you want to use polymorphism / single table inheritance - this is quite an informative thread.