Yes quite possibly migrate would have had the same result.
To my thinking Zarrar’s fix informs better what actually migrate does under the covers in the case of this problem?
edit: FWIW your migrate comment reminds me of my exercise here V8 update warning *json is missing - #2 by saurabh6790