silverstripe/sapphire — pull request #1079 by sminnee (2013-01-08 04:54:32+00:00)
Title: BUGFIX: Don't have postgresql choke on bad data when an item is removed from an enum

This fix ensures that there is no corrupt data stored in an enum when a column is removed from it.

An alternative fix would be to ensure that the enum always contained the values listed in the actual data. The main issue with the approach included here is that would lead to data-loss if shuttling back & forth between different versions of an app.