Skip to content

Instantly share code, notes, and snippets.

@machupicchubeta
Last active August 29, 2015 14:00
Show Gist options
  • Save machupicchubeta/11128904 to your computer and use it in GitHub Desktop.
Save machupicchubeta/11128904 to your computer and use it in GitHub Desktop.
liquibase create __diff__ changelog command
liquibase --url=jdbc:postgresql://<hostname or ip>/<database name> --username=machupicchubeta --driver=org.postgresql.Driver --classpath=/Users/machupicchubeta/bin/postgresql-9.3-1101.jdbc41.jar --defaultSchemaName=public diffChangeLog --referenceUrl=jdbc:postgresql://<hostname or ip>/<reference database name> --referenceUsername=machupicchubeta > `date +"%Y%m%d%H%M%S"`_alter_public_tables.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment