dbclhistory-capture-extensions
--dbclhistory-capture-extensions
is a global Boolean parameter that specifies whether Liquibase captures information about installed extensions in the DATABASECHANGELOGHISTORY table. It is available in Liquibase 4.27.0 and later. The default value is true
.
Uses
Liquibase comes pre-installed with some common database drivers to make it easier for you to deploy changes quickly. You can also install more extensions to add more database support, such as the liquibase-mongodb
extension. By default, Liquibase records the filepath and name of all Liquibase extensions you have installed in the DATABASECHANGELOGHISTORY (DBCLH) table.
However, if you want to exclude extension information from your DBCLH, you can set --dbclhistory-capture-extensions
to false
.
Syntax
You can set this parameter in the following ways:
Option | Syntax |
---|---|
Liquibase properties file (defaults file) |
|
Global flow file argument (example) |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS Environment Variable) |
|
Liquibase Environment Variables |
|
For more information, see Working with Command Parameters.