MandatoryError when `bench migrate`

In case anyone runs into a “MadatoryError” after updating from v15 to v16 and then running bench migrate, The solution for me was to edit my workspace.json in apps/<my_custom_app>/<my_custom_app>/fixtures/workspace.json.

I needed to add a ”type”: “Link” key/value to the json object for each workspace i had in my custom app.

Hopefully it helps!