I have a product table "products"
products
- proID (PK)
- proName
- proDescription
- proPrice
- proSize
- proStatus
Now I need to add two extra properties (type and color) and in the future even more. In the futere I can get more different products, each with their own properties.
The two extra properties only apply to some (half) of the products in the products table.
Is it better to add the properties to the products table or create a seperate table to store these properties and values?
I could store them like:
product_properties
- pprID (PK)
- pprName
product_properties_values
- pprID (PK)
- proID (PK)
- ppvValue