public class LiquibaseProvider extends Object
The default liquibase configuration file is located at liquibase/changelog_master.xml
.
Modifier and Type | Field and Description |
---|---|
static String |
DB_MIGRATE_UP_TO_CHANGESET |
Constructor and Description |
---|
LiquibaseProvider() |
Modifier and Type | Method and Description |
---|---|
void |
createDatabase()
Updates the database given by the
dataSource to the current state represented by the liquibase
configuration file in liquibase/changelog_master.xml . |
public static final String DB_MIGRATE_UP_TO_CHANGESET
@PostConstruct public void createDatabase()
dataSource
to the current state represented by the liquibase
configuration file in liquibase/changelog_master.xml
.Copyright © 2019 SAP SE. All rights reserved.