public class LiquibaseSchemaHelper extends Object implements SchemaHelper
Constructor and Description |
---|
LiquibaseSchemaHelper(String configFile,
com.atlassian.config.db.HibernateConfig hibernateConfig) |
LiquibaseSchemaHelper(String configFile,
Properties... partialProps) |
Modifier and Type | Method and Description |
---|---|
void |
createSchema()
Creates the schema in the database.
|
boolean |
databaseContainsExistingData(Connection connection) |
void |
dropSchema() |
void |
updateSchemaIfNeeded()
If there are any updates to the Schema needed, do them.
|
public LiquibaseSchemaHelper(String configFile, Properties... partialProps)
public LiquibaseSchemaHelper(String configFile, com.atlassian.config.db.HibernateConfig hibernateConfig)
public void updateSchemaIfNeeded()
SchemaHelper
updateSchemaIfNeeded
in interface SchemaHelper
public void createSchema()
SchemaHelper
createSchema
in interface SchemaHelper
public void dropSchema()
public boolean databaseContainsExistingData(Connection connection)
databaseContainsExistingData
in interface SchemaHelper
Copyright © 2020 Atlassian. All rights reserved.