Follow-up to [6317] and #2876. First attempt caused new issues (#6490), and now the implementation has changed to use the existing API to update enums instead of writing new SQL.
Authored by: osimons 2007-12-13
Parent: [r6322]
Child: [r6324]