Liquibase® version 3.8.2 is now available! Get it for free.
2018 XML Announcement
News 5 Ways to Fix a Bad Database Change in Liquibase
04 Dec 2019

- and/or -

All Previous Posts >>

Database Documentation Generator

Using change information stored in the change logs and an existing database, Liquibase can generate database change documentation.

Running DBDoc

The dbDoc command support is currently available through the command line only.

Example

liquibase.sh --driver=oracle.jdbc.OracleDriver \
        --url=jdbc:oracle:thin:@testdb:1521:test \
        --username=bob \
        --password=bob \
        --changeLogFile=path/to/changelog.xml
    dbDoc \
        /docs/dbdoc

Sample Output

The documentation output is based on a “JavaDoc” style documentation. The report of changes from our sample changelog is available here.