In the delivery life cycle, maintaining databases across versions and multiple environments can be a real headache. Flyway is an assertive protection against the entropy that schema changes can induce. Managing and automating migrations, Flyway stands as a tremendously valuable asset for software makers.
In this recipe, we review the Flyway configuration. We especially review its integration in to Maven. This will get every build to upgrade (if necessary) the corresponding database so that it matches the expectation level.
From the Git Perspective in Eclipse, checkout the latest version of the branch
v9.x.x.
In the
/app
directory of your workspace, thecloudstreetmarket.properties
file has been updated. Also, one extradb/migration
directory shows up with aMigration-1_0__init.sql
file inside, as well as a new/logs
directory.Please do reflect all these changes to the app directory located in your OS user
home
directory
:...