Migrate the database of a Spring Boot app in a CI/CD pipeline with Flyway
CI/CD pipelines allow to build and deploy applications. But update databases is a much more complex task. The Flyway open source software has a solution to solve this problem.
In this sorry, we will see how to apply an update of a database with Flyway from a Spring Boot application. How you will see, Flyway can be integrated in a CD pipeline.
In first, let’s create a flyway
directory et enter inside:
mkdir flyway
cd flyway