migration: T6007: update migration class
(cherry picked from commit ea714891a0d6c02610e479a66f4d85dd7fee2dda)