diff --git a/cmd/icingadb-migrate/convert.go b/cmd/icingadb-migrate/convert.go index c061c3407..1d5dd5bad 100644 --- a/cmd/icingadb-migrate/convert.go +++ b/cmd/icingadb-migrate/convert.go @@ -508,10 +508,13 @@ func convertFlappingRows( } } - stages = []icingaDbOutputStage{{ - inserts: [][]contracts.Entity{flappingHistory, allHistory}, - upserts: [][]contracts.Entity{flappingHistoryUpserts}, - }} + stages = []icingaDbOutputStage{ + { + inserts: [][]contracts.Entity{flappingHistory}, + upserts: [][]contracts.Entity{flappingHistoryUpserts}, + }, + {inserts: [][]contracts.Entity{allHistory}}, + } return }