Skip to content

Files

Latest commit

c8cf0bc · Nov 29, 2016

History

History
This branch is 3 commits ahead of, 1584 commits behind flyway/flyway:main.

flyway-sample-mongodb

Flyway MongoDB Sample Project

About

This is a sample project depending on the Flyway MongoDB schema migrator PoC. At the top level of the repository, enter the following command to build and run the sample project.

user:~/.../flyway$ mvn exec:java -Dexec.mainClass=org.flywaydb.sample.mongodb.Main -P-InstallableDBTest -P-CommercialDBTest -pl flyway-sample-mongodb

JavaScript migrations

Mongo migrations defined in JavaScript file are now supported. JS file should contain database run commands as defined here . Single line // and multi-line /*..*/ comments can be added as well.