Removing unnecessary migrations