Fetching contributors…
Cannot retrieve contributors at this time
90 lines (67 sloc) 3.04 KB

Build Status Maven Central


Provides Flyway migrations framework integration with Bootique. See usage example bootique-flyway-demo.


Add bootique-flyway to your build tool:






Note: bootique-flyway is a part of bootique-bom, and version can be imported from there.

Available commands

Flyway is based around just 6 commands: Migrate, Clean, Info, Validate, Baseline and Repair. They are presented in Bootique-Flyway module:

  -b, --baseline
       Baselines an existing database, excluding all migrations up to and including baselineVersion.

       Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.The schemas are cleaned in the order specified by the schemas property.

  -i, --info
       Prints the details and status information about all the migrations.

  -m, --migrate
       Migrates the schema to the latest version. Flyway will create the metadata table automatically if it doesn't exist.

  -r, --repair
       Repairs the metadata table.

  -v, --validate
       Validate applied migrations against resolved ones (on the filesystem or classpath) to detect accidental changes that may prevent the schema(s) from being recreated exactly.

Example Project