I am faced with the problem that you may have experienced it, There is a entity with formal field and variable field, For example consider a Person entity that have name and family and state, depend of state value
if state=1 then person must fill information about Education(many formal field and one to many information)
or
if state=2 then person must fill information about Healthy(many formal field and one to many information)
and etc.
During develop may be this condition changed and a state = 7(Insurance Information) also added that the user must filled if condition state = 7 is launched!
So what is best practice to resolve this problem and Design tables with comfort extension and least changes and easy query?
Note that Xml filed is hard to query(for report later by another person) and i temporarily ignored this solution.
Thanks.