Avoid a Database MELTDOWN: How to use Flyway with Spring Boot

preview_player
Показать описание
In this tutorial I show you how to use Flyway with Spring Boot.

🔗 *Links*

🍿 *Watch Next*

⌨️ **My Gear**

📚 *Recommended Books for Devs*

🤔 *Who Am I*
I'm Aaron Bourne, a YouTuber and Software Developer working and living in the UK. I make videos that share the skills I've built from developing software commercially for almost 15 years. I hope to make software development accessible for everyone and help to make our software better.

*Timestamps*
0:00 Intro
0:15 The Theory
0:52 Project Setup
1:51 Running PostgreSQL in Docker
3:16 The Domain
7:45 Connect to the Database
9:41 Create a Database Migration
11:37 Running a Second Migration
14:09 Breaking a Migration
15:18 Next Up

Full disclosure, some of the links in this description are affiliate links that I get a commission from.
Рекомендации по теме
Комментарии
Автор

Your channel's gonna blow up! This is the highest quality Java content that I can find on youtube and I can't believe that it's free.

nyithuta
Автор

Hey, I just wanted to say that your content has very high quality ans you're doing a great work, but I think that you should start making videos of simple Java themes to first get the audience, and then scale the difficulty of the topics. Thank you for your work!

nikent
Автор

Could you do a video about dependecy injection? Also, love that you brought a new tool for use.

oscarmiranda
Автор

great video! Can you please link the full spring boot course. Thank you in advance!

husane
Автор

Thank you for the great video! When we want to build a Spring Batch application should we also use Flyway? Is it a good approach or should we avoid using Flyway with Spring Batch ? Thank you in advance!

ainigma
Автор

Verty helpful tutorial, thanks for sharing

stivenmedina
Автор

Hi great video and channel, thank you for your content.
I would like to know if you can create a video on how to secure a graphql api with JWT created in spring boot.

danielquirospicado
Автор

would have been more helpful if you could demo the cases where you need to roll back, also when there are a lot more sql migration scripts? could you create a master list like you can do in liquibase ?

aysh-qq
Автор

I have been running around like a headless chicken in a physics exams until I found your video.
You saved me a lot of time and effort.
If there is an option to buy you a coffee, I would happily do so.
Cheers, and keep doing amazing videos

johnaziz
Автор

Make video to call spring boot rest api from front end like javascript or angular app

arnabchowdhury
Автор

Please make video on deploy springboot application on aws kubernates cluster

BndenavajHaladoor
Автор

can You provide a tutorial for microservices in spring boot using Docker and Kubernetes

niravparekh
Автор

can you do a full stack tutorial, like spring boot with react and aws

robtai
Автор

So what happens when 2 devs add db migrations and so you have 2 V__ scripts? You fix the conflict in the merge but then what ? Each has their own flyway table with their own V2 already applied. One should be V2 and the other V3. Any insight on this?

RskSmiles
Автор

I used EF-Core befor I come to the java world. Isn't there any combination of hibernate creating the db scripts and flyway versioning the scripts?
Also, why does hibernate create the entities in a random order and not in the order the domain model is created?
Anyone has some suggestions? Or do I need to manually write all the sql statements?

GrowsDrummer
Автор

Can i call/update stored procedures with flyway?

abdu
Автор

What happens when i skip a version number. Say from V2 to V4 and then i later come and put V3 under V4?

mrowox
Автор

Is there a way to run these as a command

simbarashemaunga
Автор

please dont use different camera angle ...its kinda distracting

mlsrkr
welcome to shbcf.ru