Skip to content

Instantly share code, notes, and snippets.

@hoangvanthien
Last active June 21, 2022 11:11
Show Gist options
  • Select an option

  • Save hoangvanthien/3102e3e08ca1f791b4718903bc41c418 to your computer and use it in GitHub Desktop.

Select an option

Save hoangvanthien/3102e3e08ca1f791b4718903bc41c418 to your computer and use it in GitHub Desktop.

Clone database k1 to k1clone (see guide), make changes to k1, then run this:

liquibase diffchangelog --url="jdbc:postgresql://localhost/k1clone" --username=postgres --password=admin --defaultSchemaName=organization --referenceUrl="jdbc:postgresql://localhost/k1" --referenceUsername=postgres --referencePassword=admin --referenceDefaultSchemaName=organization --changelog-file="hello.xml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment