Remove unneeded migrations.