overleaf/server-ce/migrations/about_migrations.md

10 lines
335 B
Markdown
Raw Normal View History

2021-03-02 04:35:40 -05:00
If migration is stopped mid way it will start at the beginning next time
To see the run migrations do db.getCollection('_migrations').find() you can't do db._migrations.find()
When testing, to roll back a migration run:
```
./node_modules/east/bin/east rollback 5 --adapter east-mongo --url mongodb://localhost:27017/sharelatex
```