search for: feature_data

Displaying 1 result from an estimated 1 matches for "feature_data".

2010 Jan 25
15
database design question: building features
...ature, feature data. (see attached ERD diagram) OPTION A Properties name address has_pool has_doorman has_etc. (a bunch of values, not all boolean) =OR= OPTION B Properties id name address Features id title featurable_type (polymorphic, in this case points to "property.id") data_type Feature_Data id feature_id featureable_id (polymorphic, in this case points to "property.id") My ingoing assumption is that we do not know all the features that can be associated with a property, and as time goes by new features will be requested by users and need to be added. Here is my question: is...