I think a unit test for this migration is required, i will have to merge the code Rafal wrote for database upgrade testing