I want to change the default value of an attribute so that new objects have the new default value but withough affecting the existing objects that have the default value. Is it OK to run the following script on all objects in the database (resetting every object to it's current value) before changing the default? The attribute is defined as an enumeration of strings (SITE_A, SITE_B, BOTH, NONE, etc.). I've run a few basic tests and it seems to work...
Module m = current
for o in m do
current_value_of_site = o."Site"
o."Site" = current_value_of_site