Fix a failing migration when running on a v1.x DB.