I want to enable flyway only if environment is dev for other environments it should be disabled. It can be define while creating a profile for each environment but there is only one profile.
I tried couple version of below script but I had string cast problem.
flyway:
enabled: ${env} == 'dev'