Fixed #23359 -- Add separate command to list migrations and sho migration plan