title: Flyway with spring boot overwrites whole DB every time I switch run mode between WAR and IDE run
body: <p>I'm facing very weird issue while integrating flyway DB migration with spring boot application. </p>
  
  <p>When I run the application from executable WAR using command line, it creates new DB at the start-up of application.
  Now, If I switch the application run mode to IDE (i.e. run from STS), it again fires all the script from my <code>db/migration</code> folder. I can see the <code>installed_on</code> column time changes every-time I switch between these 2 run modes. I have tried enabling <code>baselineOnMigrate</code> property, but didn't get any effect of it.
  Do you think its something related to spring boot embedded tomcat ? because at both run it creates individual tomcat which is embedded.</p>
  
  <p>Please find my spring boot application.properties below:</p>
  
  <pre><code>mssql.dbname=issueDB
  mssql.password=password
  mssql.dbserver=localhost
  mssql.port=1501
  
  spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
  spring.datasource.url=jdbc:sqlserver://${mssql.dbserver}:${mssql.port};databaseName=${mssql.dbname}
  spring.datasource.username=user
  spring.datasource.password=${mssql.password}
  
  spring.flyway.baselineOnMigrate=true
  spring.flyway.locations=classpath:db/migration/testissue
  spring.flyway.out-of-order=true
  spring.flyway.baseline-version=1.3
  spring.flyway.placeholder-prefix=$
  spring.flyway.placeholder-suffix=$
  spring.flyway.mixed=true
  spring.flyway.cleanOnValidationError=true
  </code></pre>