Database Migration with Spring Boot

preview_player
Показать описание
All applications that get deployed to production should use an automated approach to migrate their database. It makes your job a lot easier. It also ensures you don’t miss any changes during the update process. That’s, of course, also true if you develop your application based on Spring Boot. The integration of Flyway and Liquibase makes it even more comfortable.

Flyway and Liquibase are two of the most popular Java libraries for version-based database migration. The general idea of this approach is to use a similar versioning and migration tactic as you did for your application code. For each version, you provide the required steps to migrate your database from the previous to the new version. Using Flyway or Liquibase, you can then automatically apply the required migration steps to update your database from any version to the current version.

Like my channel? Subscribe!

Join the free Member Library:

Links mentioned:

Want to connect with me?

#DatabaseMigration #SpringBoot #Flyway #Liquibase
Рекомендации по теме
Комментарии
Автор

This is very confusing, you're explaining how to use Flyway and you want me to already be familiar with Flyway??? If I'm already familiar with Flyway why would I watch this??

eljeanxp
Автор

how we can migrate the data as well with flyway?

shivagupta
Автор

Hi thorben, you have any tutorial about spring jpa + hibernate. Many to many relationship. How to decide between fetch eager and lazy. I want to know if I can change it dynamically . Entity

tecnoingenieriacreativa