thecodingmachine / tdbm

The Database Machine is a PHP ORM that requires no configuration. The object model is deduced from the database model.
https://thecodingmachine.github.io/tdbm/
119 stars 27 forks source link

Self referencing ManyToMany issue #267

Open homersimpsons opened 3 years ago

homersimpsons commented 3 years ago

There are issues with addCandidate, addCoach etc... with the following schema

users.id

users_coaches.coach_id -> users.id
users_coaches.candidate_id -> users.id