Cleans up migrations.