I have two tables – users and stores.
there is a third table – stores_users that should manage the relations (HABTM).
However, a store have a user_id column within it that refers to the owner of the store, the person who created the store record (belongsTo).
This user can grant management privileges to other users..
Should i expect problems because of this relations?
This shouldn’t be a problem. You can give aliases to your associations as such
Now
findoperations onStorewill return data like