Tags
% ./liquibase tag {{NAME}}
http://www.liquibase.org/manual/rollback
Slide 42
Slide 42 text
roll back to a tag
% ./liquibase rollback {{NAME}}
http://www.liquibase.org/manual/rollback
Slide 43
Slide 43 text
rollback a # of changes
% ./liquibase rollbackCount 1
http://www.liquibase.org/manual/rollback
Slide 44
Slide 44 text
Generating Change Logs
% ./liquibase generateChangeLog
http://www.liquibase.org/manual/
generating_changelogs
Stored procedures, functions, packages, and
Triggers do not get exported.
Slide 45
Slide 45 text
Generate HTML Docs
% mkdir -p ./build/dbdoc
% ./liquibase dbdoc ./build/dbdoc
Lists changes, authors, tables, etc.
Slide 46
Slide 46 text
Database Diff
% ./liquibase diffChangeLog --referenceUrl=jdbc:...://remote/db
Outputs the SQL to get a target DB
up-to-date
Slide 47
Slide 47 text
Find Stuff with Git
% git log -S ‘issue-002’ -- db-changelog.xml
% git show 1a26f4f
Liquibase Website
http://www.liquibase.org/
Presentation Code
https://github.com/slidedecks/schema-evolution-vcs
What are the alternatives to LiquiBase?
quora.com/What-are-the-alternatives-to-LiquiBase
PostgreSQL Connection URIs
http://www.postgresql.org/docs/9.2/static/libpq-
connect.html#AEN38149
Resources
Slide 51
Slide 51 text
Liquibase Best Practices
http://liquibase.org/bestpractices
Formatted SQL Changelogs
http://liquibase.org/manual/
formatted_sql_changelogs
Formatted SQL Includes
http://forum.liquibase.org/topic/liquibase-formatted-
sql-how-to-include-other-changeset-file
LiquiBase Command Line
http://www.liquibase.org/manual/command_line
Documentation
Slide 52
Slide 52 text
on JoindIn
https://joind.in/7932
on Twitter
http://twitter.com/wilmoore
on Github
http://github.com/wilmoore
Thanks for your feedback