MENU

Fun & Interesting

Adding Flyway Migration Support To a Spring Boot Application

Wazoo Web Bytes 1,279 1 year ago
Video Not Working? Fix It Now

Let's jump into the world of Database Migrations using Flyway! Think of a Database Migration as kind of a "Git for your Database Schema". A Migration is the act of performing a change to your existing database structure, and since it's very important for others working on the same project to be using the same database structure, this will help you out! 👉👉Grab the source (on github): https://t.ly/6SrAa 🔗Grab My Other Products Available: - Packaging a JavaScript Frontend in Java Spring Boot: https://t.ly/gaKyT - Build Your First Web Service with Java Spring Boot: https://t.ly/iv_84 👋🏻Connect with me: Twitter: https://www.twitter.com/eyuzwa 🔗Links & References: - Docker Desktop Client: https://www.docker.com/ - Start Spring IO: https://start.spring.io/ ===---=== Chapters ===---=== 0:00:00 - Introduction 0:01:55 - Adding Flyway to Pom.xml 0:02:27 - Updating compose.yaml 0:03:15 - Updating application.properties with .env variables 0:05:52 - Creating DB Migrations 0:06:26 - Populate V1__initial_migration.sql 0:09:35 - Docker support in IntelliJ 0:10:44 - Looking at the DB with phpMyAdmin 0:13:00 - Outro

Comment