title: Flyway Maven init before migrate
body: <p>I'm trying to do a Flyway migration on multiple (6 or so) instances of our server. Each one is built and deployed automatically from Git using Bamboo, so I'd really like to be able to use the <code>flyway:migrate</code> Maven goal so each server migrates itself when it is next deployed.</p>
  
  <p>However I'm just trying out Flyway now, so none of the existing DBs have been <code>init</code>'d. I'm wondering is it possible for me to somehow specify in Maven that Flyway should <code>init</code> if it hasn't already, and then <code>migrate</code> every time?</p>
  
  <p>The <a href="http://flywaydb.org/documentation/maven/migrate.html" rel="nofollow">migrate docs</a> suggest that "Flyway will create the metadata table automatically if it doesn't exist", but in fact when the <code>flyway:migrate</code> goal is executed, I get the error:</p>
  
  <blockquote>
    <p>Failed to execute goal com.googlecode.flyway:flyway-maven-plugin:2.2:migrate (default) on project mutopia-server: Flyway Error: com.googlecode.flyway.core.api.FlywayException: Found non-empty schema "public" without metadata table! Use init() first to initialize the metadata table. -> [Help 1]</p>
  </blockquote>