A demo project for demonstrating a database migration management mechanism for MongoDB using Spring Boot.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

mongodb-autoupdate

A demo project for demonstrating a database migration management mechanism for MongoDB using Spring Boot.

Short summary:

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 @Service and @Autowired annotations.

Please visit my blog post for more details on the project.