The Liquibase SDK ships with a LIQUIBASE_HOME/sdk/workspace directory that is pre-configured as an easy starting point for testing Liquibase and Liquibase extensions.
Normal usage of the workspace directory is to change to the workspace directory, then run ..\..\liquibase ARGS
and ..\liquibase-sdk ARGS
commands.
Liquibase SDK is available in Liquibase 3.2.0+
The workspace directory ships with liquibase.h2.properties, liquibase.hsql.properties and liquibase.derby.properties files in the workspace directory which can be used for testing embedded databases. All three are configured to use database files in LIQUIBASE_HOME/tmp/DB_NAME.
LIQUIBASE_HOME/sdk/changelog contains a starting com/example/changelog.xml
file that can be used as a starting point for testing.
The com/example/changelog.xml uses a variety of features including:
The created database structure includes: