Disable flyway on quakus live reload

Viewed 72

I run my quarkus application using:

mvn compile quarkus:dev

I have flyway also integrated in my application. Every time my application live reloads due to some changes flyway also checks for any migration done on db. How can I disable it because it increases the live reload time.

application.yaml:

quarkus:
  flyway:
    migrate-at-start: false
    baseline-on-migrate: true
1 Answers

There is a property available to disable flyway flyway.enabled which is true by default. So you can try :

quarkus:
  flyway:
    enabled: false
    migrate-at-start: false
    baseline-on-migrate: true
Related