/planner-mongo-migration

Migration scripts for moving data from Planner's MongoDB to Postgres

Primary LanguageTypeScriptMIT LicenseMIT

Initialize MongoDB source and Postgres target databases

docker compose up -d

Restore MongoDB database

./restore.sh -d cluster0 -p /path/to/dump/cluster0

Run migration script

npm run migrate