Update manual migration script

This upgrades the 2013 database to the correct 2014 state (including the fix I did earlier tonight).