Flyway is a popular open-source tool for managing database migrations. It makes it easy to manage and version control the database schema for your application.
Flyway supports almost all popular databases including Oracle, SQL Server, DB2, MySQL, Amazon RDS, Aurora MySQL, MariaDB, PostgreSQL and more.
This video provides a step-by-step guide to configuring and using Flyway for managing database migrations in Spring boot. This example uses Spring boot 3, MySQL8 and JPA.
00:00 Introduction to Flyway
01:25 Versioned Migrations
02:33 Repeatable Migrations
2:25 How Flyway Works
04:15 Integrate Flyway in Spring Boot
15:51 Undo/Reverse Migration in Flyway
16:50 Configuring Flyway Maven Plugin
19:00 Managing migrations from the Command Line
22:23 Thank you for watching 💕💕💕
Download the source code here:
https://github.com/StackTipsLab/spring-boot-tutorials/tree/main/spring-jpa-flyway
❤️ Get in touch ❤️
Website: https://stacktips.com
Twitter: http://twitter.com/asknlilan