Also, although this migration is (hopefully) only going to be run once, it may be worth extracting the code that does the work of conversion and writing some tests around it, just to be safe, particularly given the above issues.