Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 1 year ago.
0

You could have a table with a list of different types of property/product categories like "Flat" and "Barn" etc. Then in your property/product table have a relationship to the categories table. In past experience (I helped build http://ukbusinessproperty.co.uk) we had a many to many table as properties/products may require more then one category.

Last updated 1 year ago.
0

Thanks for your reply.

This solution helps with defining the type of product. However what about specific attributes per type?

Thanks

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alixg alixg Joined 3 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.