|
Project Information
Featured
Downloads
Links
|
Latest VersionFlyway 1.6.1 (Released 2012-04-21) - Download - Release Notes HighlightsIt just works - Refreshingly simple. Migrate from any version (incl. an empty database) to the latest version of the schema. Automatic migration on startup - Ship migrations together with the application and run them automatically on startup using the API. Convention Over Configuration - Classpath Scanning to automatically discover Sql and Java migrations Plain Old Sql - SQL scripts for regular migrations (incl. placeholder replacement). No proprietary XML formats, no lock-in. No limits - Java classes for advanced migrations Highly reliable - Safe for cluster environments (Multiple machines can migrate in parallel) Build tool support - Maven plugin and Ant tasks for migrating manually Not only for Java - Command-line tool for non-JVM users and environments without Maven Fail fast - Inconsistent database or failed migration prevents app from starting. Schema Clean - Drop all tables, views, triggers, ... from a schema without dropping the schema itself Features
1. Sql files and Java classes can be used indirectly through references in xml migrations InstallationBoth Flyway, the Flyway Maven Plugin and the Flyway Ant Tasks are available from Maven Central. Just add this to your POM and you're good to go: Flyway<dependency>
<groupId>com.googlecode.flyway</groupId>
<artifactId>flyway-core</artifactId>
<version>1.6.1</version>
</dependency>Flyway Maven Plugin<plugin>
<groupId>com.googlecode.flyway</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>1.6.1</version>
<configuration>
....
</configuration>
</plugin>Maven plugin configuration and goal info available here Flyway Ant TasksFor Ant and Ivy simply add the following line to your ivy.xml <dependency org="com.googlecode.flyway" name="flyway-ant" rev="1.6.1"/>
Requirements
Supported Databases
More info available here More Info |

(1)