Translations of this page?:
Outputs a diff of the difference between two databases as a change log to bring them into sync.
<target name="diff-database" depends="prepare">
<taskdef resource="liquibasetasks.properties">
<classpath refid="classpath"/>
</taskdef>
<diffDatabaseToChangeLog
driver="${database.driver}"
url="${database.url}"
username="${database.username}"
password="${database.password}"
baseUrl="${database.url}"
baseUsername="${database.username}"
basePassword="${database.password}"
outputFile="path/to/newchangelog.xml"
classpathref="classpath"
>
</diffDatabaseToChangeLog>
</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 |
| baseDriver | The name of the database driver to connect with |
| baseUrl | The base database URL [required] |
| baseUsername | The base database username to connect with [required] |
| basePassword | 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 change log to [required] |
| classpathref | A reference to the classpath that contains the database driver, liquibase.jar, and the changelog.xml file [required] |
| name | The name of the property to set |
| value | The value of the property to set |