Bench migrate messing up custom fields

Sometimes when I have many custom_fields on my app to migrate, I need run bench migrate command like 5 times to read the correct order of the custom fields with the document defaults fields.

Why this bug happens?
How can I fix that?

No direct answer, you have to dig the code to fix the issue. Waiting for PR.:relaxed:

1 Like