Class LiquibasePreparer
java.lang.Object
com.opentable.db.postgres.embedded.LiquibasePreparer
- All Implemented Interfaces:
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
Modifier and TypeMethodDescriptionboolean
static LiquibasePreparer
forClasspathLocation
(String location) static LiquibasePreparer
forClasspathLocation
(String location, liquibase.Contexts contexts) int
hashCode()
void
prepare
(DataSource ds)
-
Method Details
-
forClasspathLocation
-
forClasspathLocation
-
prepare
- Specified by:
prepare
in interfaceDatabasePreparer
- Throws:
SQLException
-
equals
-
hashCode
public int hashCode()
-