Saturday 22 May 2021

How to disable flyway in a certain spring profile?

By setting the property 'spring.flyway.enabled' to false we can disable flyway in spring boot application.

 

For application.properties format:

spring.flyway.enabled=false

For application.yml format:

spring:
    flyway:
        enabled: false

 

 

 

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment