NN-10625 | Prepare batch for migration.