Start working on migrator

This commit is contained in:
jamesagnew 2018-08-26 12:29:05 -04:00
parent 67fede9eda
commit 1ff8f45a3e
1 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,16 @@
package ca.uhn.fhir.jpa.migrate;
import org.flywaydb.core.Flyway;
import org.flywaydb.core.api.Location;
import org.flywaydb.core.api.configuration.Configuration;
import org.flywaydb.core.api.configuration.FluentConfiguration;
public class Migrator {
public static void main(String[] theArgs) {
Configuration config = new FluentConfiguration()
.locations(new Location());
new Flyway(config);
}
}