Why not a many to many relationship ? Requests seems like a perfect pivot table :)
pmall said:
Why not a many to many relationship ? Requests seems like a perfect pivot table :)
Oh, that might just work indeed, will try that.
A many to many relation? Why? One to Many and Many to One seems to be enough...
A Request can have 1 User and a User can have many Requests A Request can have 1 Listing and a Listing can have many Requests.
I dont see a Many to Many relation anywhere. This adds a database table for nothing. If you do a "work around" you get more DB tables and you want to keep it clean :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community