[1.7.x] Fixed #22748 -- Corrected post_migrate usage example.

Thanks Rudolph for the report.

Backport of a00efa30d6 from master