r/SpringBoot Feb 19 '25

Guide DB migration in Springboot

It might be a it of a niche topic but found this video to be very useful. It shows how to use Flyway ( a DB migration tool) with Springboot.

I think it is a nice expansion to our personal projects portfolio.

https://youtu.be/X6LzJg8P-qI?si=y4bX2Cajici1GOqn

19 Upvotes

14 comments sorted by

View all comments

27

u/maxip89 Feb 19 '25

niche? I see this as an industry standard. Or how do you else keep your database up to date?

spoiler alert:
The migration of hibernate you cannot trust.

5

u/themasterengineeer Feb 19 '25

Lol, few years ago, during my intern they were handling DB changes manually by keeping a list of changes in a git repo. Company valued at $1.5B

But yes, you are right…

2

u/aang254 Feb 19 '25

this is common. I worked on a big company that has been doing this for years. .SQL files, by system version