A demo project for demonstrating a database migration management mechanism for MongoDB using Spring Boot.
When you look at a development with Continuous Deployment the database is also continuously adapted. It's difficult to find solutions for non-relational databases (similar to Liquibase or Flyway), so I developed my own solution for a database management: The idea is to scan a folder containing update scripts and to apply them to the database if needed. The database will store executed scripts to distinguish them from not executed scripts. This feature will then be attached to the application launch, so whenever the application is started, it’ll check for new scripts. The mechanism is fully integrated into the Spring Boot environment and uses helpful key features like
Please visit my blog post for more details on the project.