Add migrator to 4.2.0
(cherry picked from commit 4fe73e8c3dff994c5e00462843244d6b27d5e155)