Remove useless migrations.