public class LiquibaseHelper extends Object
| Constructor and Description |
|---|
LiquibaseHelper(Map<String,String> props)
Creates a new helper.
|
| Modifier and Type | Method and Description |
|---|---|
File |
generateMigrations() |
File |
getMasterChangeLogFile() |
File |
getResourcesDir() |
void |
migrate()
Helper utility to perform a Liquibase database migration.
|
public File getResourcesDir()
public File getMasterChangeLogFile()
public void migrate()
throws liquibase.exception.LiquibaseException,
SQLException
liquibase.exception.LiquibaseExceptionSQLExceptionLiquibase.update(String)public File generateMigrations() throws IOException, liquibase.exception.LiquibaseException, SQLException
IOExceptionliquibase.exception.LiquibaseExceptionSQLExceptionCopyright © 2019 Ajibot. All rights reserved.