Spring boot - disable Liquibase at startup

前端 未结 6 1907
一生所求
一生所求 2021-02-05 00:45

I want to have Liquibase configured with my spring boot aplication, so I added dependencies to pom.xml and set the path to master.xml in application.properties. This works fine

6条回答
  •  日久生厌
    2021-02-05 00:49

    If you see on the LiquibaseProperties, there is a prefix like

     prefix = "spring.liquibase"
    

    So, My suggestion is to use

    spring.liquibase.enabled=false
    

    It solved my problem with spring boot 2.0.0.RC1

提交回复
热议问题