1 year ago

Pivot with a one to many relationship

Posted 1 year ago by BarryJames


I'm building a web app and have a many to many relationship between users and properties. The pivot is called 'property_user'

There is an additional attribute on the pivot named 'type' which I want to like to another table named 'property_user_types' which will contain the values to choose from.

Can this be done?

Please sign in or create an account to participate in this conversation.