I have a scenario where I am saving different parameters with values in database. Parameters can be of many types. i.e.
String, Integer, Multivalue
As it is one to many relation so I create two tables for it.
parameter
---------
id | name
parameter_value
---------------
id | parameter_id(F.K) | value
Now another parameter type added to requirements. i.e 'map'. So a parameter can be a map. Map can have other parameters. I am having problem in designing database tables according to this new requirement. Should I need to create new tables or change existing one? Using IBM DB2.