I have a database where I store houses. Each house can have multiple facilities, and each facility can have multiple values.
Let’s say I want to store the type of a house (apartment, villa, studio, etc..). What I’m thinking is to have a property_type table for the house types and a facilities table where I’ll save the home_id and the property_type_id.
Is my thinking correct? Is there a better way?
This is kind of what I picture. I’m a bit confused about your definition of
facilityhowever. I see facility as being like a gym, fitness center, or covered parking, etc.