0
I have a list of commercial establishments. Users, at first, are not registered in any of them. When he (the user) decides to register, a relationship is created between him and the establishment. It would be like the Facebook 'add friend' feature. But here’s the question:
What would be the relationship of the tables in the database? And in Active Record to be more specific? It would be a kind of dynamic relationship (if that exists)?
User can add more than one establishment?
– Ricardo
Yes @Ricardo, you can.
– Pedro Vinícius