Hi folks
In ISV model XYZ we have a table with a NoYes enumeration field. There is a requirement to be able to specify N/A. I have changed the field enum type to XYZNoYesNa.
I am 100% sure that this solution will not cause any deployment issues or database corruption. However model XYZ is in use by many clients and the table holds important data. My employer and some senior developers are very concerned. I do not agree with this concern, because I am applying some very high-tech, next-gen, super-intelligent thinking: 1 is 1 and 0 is 0. But I have been pulled into the worrying thing.
I posted a similar thread quite a while ago in which the answer comes down to this not being an issue. However I need some assurance. If something goes wrong with this I will most probably be demoted to a coffee machine.
This is how the enums match up. Both are non-extensible.
|
NoYes |
XYZNoYesNA |
No |
0 |
0 |
Yes |
1 |
1 |
NA |
|
2 |
So after deployment of my changes. Data in that field that were "No" will remain "No". Data in the field that were "Yes" will remain "Yes". The only change is that a new value is now possible: "NA" (with integer value 2).
And then there are talks about "deployment errors" that will happen if I do this. I do not have much experience with deploying packages so I can't say for sure. But I can't think that it can be an issue.
In summary: Is there anything that can go wrong with package deployment or db synchronization if I change a table field's enum type of NoYes to XYZNoYesNA?
Thanks for your attention