For Data Migrations it is recommended to use Robo 3T which let's you easily update several documents by inserting shell commands for each collection.
In Version 0.1.3 the data model was modified, in fact identityId was renamed to id. Existing data and requests must be adjusted to support this data model.
For the database migration there are two scripts which can be found in the following:
◈ Link to the Robo3T Migration Script ◈
You can also run the following TypeScript tool to migrate the database. Make sure you've set the correct DATABASE_URL and DATABASE_NAME in the .env file.
◈ Link to the TypeScript Migration ◈
Run it by using:
ts-node src/tools/migration/migration-to-0.1.3.ts