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 TypeMethodDescriptionboolean
static FlywayPreparer
forClasspathLocation
(String... locations) static FlywayPreparer
forClasspathLocation
(Map<String, String> flywayConfiguration, String... locations) int
hashCode()
void
prepare
(DataSource ds)
-
Method Details
-
forClasspathLocation
-
forClasspathLocation
public static FlywayPreparer forClasspathLocation(Map<String, String> flywayConfiguration, String... locations) -
prepare
- Specified by:
prepare
in interfaceDatabasePreparer
- Throws:
SQLException
-
getLocations
-
equals
-
hashCode
public int hashCode()
-