liquibase.examples.start-h2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
#!/usr/bin/env bash
if [ -z "${LIQUIBASE_HOME}" ]; then
#liquibase home is not set
LIQUIBASE_PATH="$(which liquibase)"
if [ -z "${LIQUIBASE_PATH}" ]; then
echo "Must set LIQUIBASE_HOME environment variable, or have liquibase in your PATH"
exit 1
fi
LIQUIBASE_HOME=$(dirname "$(which liquibase)")
fi
"${LIQUIBASE_HOME}/liquibase" init start-h2