I have two users models with the same table (users, but with diferent Group user).
I have Model_User, and Model_Companies. I separate it in 2 diferent models because it have diferent relations (Model_Companies can have many images for example), but they share some other logic (login logic, and others).
But now i want to have a Many to Many relation between them, can i have any problem if I declare a direct "many_many" relation?
ORM doesn't really care what the underlying tables are. And it generates queries with aliases, so I don't think having a table multiple times in a query is a problem.
But you'll know when you try it, setting up the relation only takes 5 minutes...