Very well explained article. Might I add an addition.
Flyway configuration can also be added in the application.yaml or application.properties file of spring boot.
application.yaml
application.properties
spring: profiles: dev flyway: url: your_db_url user: your_user password: your_password
This would be helpful when using different profiles in spring boot e.g application-dev.yaml locally and application-staging.yaml on staging.
application-dev.yaml
application-staging.yaml
Thanks for the addition Muhammad. This is an excellent addition, especially when working with different Spring profiles.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Very well explained article. Might I add an addition.
Flyway configuration can also be added in the
application.yaml
orapplication.properties
file of spring boot.This would be helpful when using different profiles in spring boot e.g
application-dev.yaml
locally andapplication-staging.yaml
on staging.Thanks for the addition Muhammad. This is an excellent addition, especially when working with different Spring profiles.