Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 921 Bytes

MIGRATION.md

File metadata and controls

25 lines (13 loc) · 921 Bytes

Migration

HowTo

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.


Data Migration from 0.1.2 -> 0.1.3

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