Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.
/ mongodb-autoupdate Public archive

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

License

Notifications You must be signed in to change notification settings

cronn/mongodb-autoupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published