Class FlywayPreparer
java.lang.Object
com.opentable.db.postgres.embedded.FlywayPreparer
- All Implemented Interfaces:
DatabasePreparer
Support for integrating Flyway and performing a DB migration as part of the setup process.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FlywayPreparerforClasspathLocation(String... locations) static FlywayPreparerforClasspathLocation(Map<String, String> flywayConfiguration, String... locations) inthashCode()voidprepare(DataSource ds)
-
Method Details
-
forClasspathLocation
-
forClasspathLocation
public static FlywayPreparer forClasspathLocation(Map<String, String> flywayConfiguration, String... locations) -
prepare
- Specified by:
preparein interfaceDatabasePreparer- Throws:
SQLException
-
getLocations
-
equals
-
hashCode
public int hashCode()
-