本頁目錄

資料庫 Documentation Generator

使用儲存在 change logs 裡面的 change 資訊, 以及一個 existing 資料庫, LiquiBase 能夠產生出 change documentation.

執行 DBDoc

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

例子

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

範例 Output

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