Class FlywayPreparer
- java.lang.Object
-
- com.opentable.db.postgres.embedded.FlywayPreparer
-
- All Implemented Interfaces:
DatabasePreparer
public final class FlywayPreparer extends Object implements DatabasePreparer
Support for integrating Flyway and performing a DB migration as part of the setup process.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FlywayPreparerforClasspathLocation(String... locations)inthashCode()voidprepare(DataSource ds)
-
-
-
Method Detail
-
forClasspathLocation
public static FlywayPreparer forClasspathLocation(String... locations)
-
prepare
public void prepare(DataSource ds) throws SQLException
- Specified by:
preparein interfaceDatabasePreparer- Throws:
SQLException
-
-