Hi Team,
We want to change value of exiting Enum's element, Currently value is 3 and we want change it 8.I wanted to understand the impact of this change ? Any recommendation?
Thanks,
Manish Verma
*This post is locked for comments
Hi Team,
We want to change value of exiting Enum's element, Currently value is 3 and we want change it 8.I wanted to understand the impact of this change ? Any recommendation?
Thanks,
Manish Verma
*This post is locked for comments
You need to update all existing records in your database that include this enum value (3, and also 8, if you already have some pre-existing option that uses number 8).
Also if you have any code that relies on the numerical value (including "less than" / "greater than" operators) instead of EnumName::Element, it will need to be adjusted.
Why do you want to change it? Is it a standard enum or something you developed?
André Arnaud de Cal... 291,703 Super User 2024 Season 2
Martin Dráb 230,433 Most Valuable Professional
nmaenpaa 101,156