Delete bad migrations and login