title: How to run flyway:clean before migrations in a SpringBoot app?
body: <p>I am using Springboot and Flyway. The migrations work just fine but I wanted to be able perform a <code>clean</code> flyway command when the application context gets loaded with <code>test</code> profile.</p>
  
  <p>Is it possible to configure SpringBoot to do <code>clean</code> and then <code>migrate</code> if active profile is <code>test</code>?</p>