Sunday, March 4, 2018

which relationship type should I use for venue type - development

which relationship type should I use for venue type

I have an application that has venues each venue has one type I.E bar, cafe, restaurant etc

What type of relationship should I make this, I am having a moment of stupid.

It can’t be one to one as there will be other venues with the same type. and it can’t one to many as it only ever has one type.

Please feel free to point out what I am missing, I think it is something obvious.



from Laravel Questions and Answers https://laravelquestions.com/laravel/which-relationship-type-should-i-use-for-venue-type/
via Lzo Media

No comments:

Post a Comment