'How to automate mongodb scripts execution while deploying a java app
For SQL databases, we are using flyway (an open-source database-migration tool https://flywaydb.org/) to automate DB script execution to be done as part of the app deployment without any manual intervention but we can't use this for mongodb.
So, can someone please suggest what's the better way to achieve something similar for mongo db scripts ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
