Class LiquibasePreparer
- java.lang.Object
-
- com.opentable.db.postgres.embedded.LiquibasePreparer
-
- All Implemented Interfaces:
DatabasePreparer
public final class LiquibasePreparer extends Object implements DatabasePreparer
Support for integrating Liquibase and performing a DB migration as part of the setup process. NB: OpenTable doesn't use Liquibase, so this is currently community supported code.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static LiquibasePreparerforClasspathLocation(String location)static LiquibasePreparerforClasspathLocation(String location, liquibase.Contexts contexts)inthashCode()voidprepare(DataSource ds)
-
-
-
Method Detail
-
forClasspathLocation
public static LiquibasePreparer forClasspathLocation(String location)
-
forClasspathLocation
public static LiquibasePreparer forClasspathLocation(String location, liquibase.Contexts contexts)
-
prepare
public void prepare(DataSource ds) throws SQLException
- Specified by:
preparein interfaceDatabasePreparer- Throws:
SQLException
-
-