Fix bad migrations