In our deploy pipeline we want re-generate realm schemas automatically after update mongo collections in atlas.
We are planing follow steps:
- Pushing to our GitLab repo
- GitLab runner run some migrations in our cloud Mongo DB in Atlas (trough remote connection)
- After that GitLab runner must regenerate realm schemas based on actual collection schemas (because it was changed). But we don’t know how to do it.
Is it possible do this step programmatically?