使用儲存在 change logs 裡面的 change 資訊, 以及一個 existing 資料庫, LiquiBase 能夠產生出 change documentation.
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
The documentation output is based on a “JavaDoc” style documentation. The report of changes from our sample changelog is available here.