Translations of this page?:
Outputs a diff report of the difference between two databases.
<target name="diff-database" depends="prepare">
<taskdef resource="liquibasetasks.properties">
<classpath refid="classpath"/>
</taskdef>
<diffDatabase
driver="${database.driver}"
url="${database.url}"
username="${database.username}"
password="${database.password}"
referenceUrl="${database.url}"
referenceUsername="${database.username}"
referencePassword="${database.password}"
outputFile="path/to/outputfile.txt"
classpathref="classpath"
>
</diffDatabase>
</target>
| driver | The name of the database driver to connect with |
| url | The target database URL [required] |
| username | The target database username to connect with [required] |
| password | The target database password [required] |
| defaultSchemaName | Schema to use by default for managed database objects and LiquiBase control tables |
| referenceDriver | The name of the database driver to connect with |
| referenceUrl | The base database URL [required] |
| referenceUsername | The base database username to connect with [required] |
| referencePassword | The base database password [required] |
| baseDefaultSchemaName | Schema to use by default for managed database objects and LiquiBase control tables |
| outputFile | Location of file to save report to [required] |
| classpathref | A reference to the classpath that contains the database driver, liquibase.jar, and the changelog.xml file [required] |
| databaseChangeLogTableName | Overrides the name of the databasechangelog table to use Since LiquiBase 1.9 |
| databaseChangeLogLockTableName | Overrides the name of the databasechangeloglock table to use Since LiquiBase 1.9 |
| name | The name of the property to set |
| value | The value of the property to set |