Skip to content

Instantly share code, notes, and snippets.

@baybatu
Created February 4, 2019 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baybatu/dd4b8e24c1719c8b11880d48f04ac26a to your computer and use it in GitHub Desktop.
Save baybatu/dd4b8e24c1719c8b11880d48f04ac26a to your computer and use it in GitHub Desktop.
Generate Liquibase changelog SQLs on CLI
java -jar liquibase.jar \
--driver=org.postgresql.Driver \
--classpath=postgresql-9.4.1208.jre6.jar \
--changeLogFile=/workspace/product-api/src/main/resources/db/changelog.xml \
--url="jdbc:postgresql://localhost:5432/product" \
--username=root \
--password=123qwe \
updateSQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment