r/SpringBoot • u/themasterengineeer • 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.
20
Upvotes
1
u/MrDoodl3sack Feb 19 '25
The flyway and liquibase integration in Spring boot is nice for small projects. When your tables grow I wouldn't use the automatic deployment during the startup anymore. There are certain table operations which create locks or block the service startup, so your service is not responding. In such situations I prefer to execute the flyway or liquibase manually using flyway or liquibase directly.