- Reference
- Version · 5.0
- Reference guide
What are parameters?
Last updated: August 21, 2026
Parameters allow you to specify additional behavior when running Liquibase Commands. They may take Booleans, strings, integers, or other types as values. You can:
- Enter properties as command-line arguments - Create connection profiles or specify other parameters in the Liquibase properties file - Specify global or command arguments in Liquibase flow file actions - Use the JAVA_OPTS variable to pass custom settings to the Java Virtual Machine (JVM) that runs Liquibase - Use environment variables to securely pass sensitive data
Configuration hierarchy
Liquibase supports the setting of properties from the following locations, from highest to lowest priority:
Liquibase flow file stage parameters
Liquibase flow file global parameters
Command-line arguments
ServletConfiginitialization parametersServletContextinitialization parametersJava system properties
OS environment variables
Configuration data, such as piped standard input, defaults files, and connection profiles and other properties stored in the Liquibase properties file.
For example, command-line arguments override ServletConfig and ServletContext initialization parameters, Java system properties, OS environment variables, and configuration data, while OS environment variables override configuration data only.
The following tables describe the Liquibase parameters that are available as global or command-specific options. For more information, run liquibase --help from the command prompt. To learn how to use parameters in more detail, see Working with Command Parameters.
Global
You can use global parameters with any Liquibase command.
Note: Syntax for each parameter is specified in kebab-case (CLI and flow file), camelCase (properties file and JAVA_OPTS), and MACRO_CASE (environment variable).
For best results, specify all commands and parameters in the --kebab-case format in the CLI. If your preference is camelCase, it also works in the CLI.
General
Syntax ( | Type | Description |
--allow- | Boolean | Specifies whether Liquibase lets you deploy multiple changesets with the same filepath, author, and ID. Liquibase 4.25.1+. Default: |
--always- | Boolean | If Default: |
--always- | String | When generating SQL for Default: |
--analytics- | Boolean | Liquibase 4.30.0+. Enables or disables Liquibase Anonymous Analytics. Default: |
--analytics- | String | Liquibase 4.30.0+. Specifies the amount of detail Liquibase provides in user-facing logs for Anonymous Analytics. Default: |
--auto-reorg
globalArgs: {auto-reorg: "val"}
liquibase. | Boolean | Defines whether Liquibase automatically reorganizes table objects stored on disk when you modify a DB2 database. Default: |
--changelog- | Integer | Specifies the number of seconds Liquibase waits to check if a changelog lock has been released. Default: |
--changelog- | Integer | Specifies the amount of time Liquibase waits for a locked database to become available. Default: |
--changelog- | String | Configures how to handle unknown fields in changelog files. Possible values:
Default: |
--classpath
globalArgs: {classpath: "val"}
liquibase. | String | Specifies additional classpath entries to use. Use the format Note: Liquibase uses the classpath to find all JARs in any location you specify except for extension JARs, such as the Liquibase extension for DynamoDB. Extension JARs included via classpath must go in one of the following locations: |
--convert- | Boolean | Allows Liquibase to convert data types such as Default: |
--database- | String | Specifies the name of a table to use for tracking concurrent Liquibase usage. Default: |
--database- | String | Specifies the name of a table to use for tracking change history. Default: |
--database- | String | Specifies the class to use for a Database implementation. See database-class. |
--ddl- | Integer | Liquibase 4.6.2+. Indicates the number of seconds a DDL command should wait for the locks to become available before throwing the "resource busy" error message. This parameter applies only to Oracle databases. See ddl- |
--defaults-file
globalArgs: {defaults-file: "val"}
liquibase. | String | Specifies the file with default Liquibase properties. Default: |
--diff- | Boolean | Defines whether Liquibase compares the column order in a diff operation. Default: |
--driver
globalArgs: {driver: "val"}
liquibase. | String | Specifies the database driver class. See driver. |
--driver- | String | Specifies a file with driver-specific JDBC connection properties, to keep them separate from other properties. See driver- |
--duplicate- | String | How to handle multiple files being found in the search path that have duplicate paths. Valid values are Default: |
--error- | Boolean | Throw an error if Liquibase detects that an includeAll will cause a circular reference (and thus a changelog parse error). Default: |
--file-encoding
globalArgs: {file-encoding: "val"}
liquibase. | String | Encoding to use when reading files. Valid values include:
Default: |
--generate- | Boolean | Determines whether Liquibase adds timestamps to changesets in the changelog it generates when you run the Default: |
--generated- | String | Determines whether Liquibase includes changeset descriptions in changelogs generated with the Default: |
--headless
globalArgs: {headless: "val"}
liquibase. | String | Forces Liquibase to run without access to the console for input and output. Default: |
--include- | Boolean | Defines whether Liquibase includes the catalog name when determining equality between the compared databases. Default: |
--include- | Boolean | Specifies whether Liquibase commands like |
--include- | Boolean | Defines whether Liquibase includes the system classpath when resolving classes at runtime. Default: |
--license-key
globalArgs: {license-key: "val"}
liquibase. | String | Specifies Liquibase Secure license key that allows using all the functionality of Liquibase Open Source and Liquibase Secure. Deprecated: |
--liquibase- | String | Specifies the catalog to use for Liquibase objects. See liquibase- |
--liquibase- | String | Specifies the schema to use for the creation of Liquibase objects, like the DATABASECHANGELOG and DATABASECHANGELOGLOCK tracking tables. See liquibase- |
--liquibase- | String | Specifies the tablespace Liquibase uses to store objects that are being deployed to your database. See liquibase- |
--log-channels
globalArgs: {log-channels: "val"}
liquibase. | String | Controls which log channels have their level set by the Example:
|
--log-file
globalArgs: {log-file: "val"}
liquibase. | String | Sends logging messages of what Liquibase does during runtime to a file. See log-file. |
--log-format
globalArgs: {log-format: "val"}
liquibase. | String | Sets the format of log output to the console or to log files. Liquibase Open Source users default to unstructured |
--log-level
globalArgs: {log-level: "val"}
liquibase. | String | Controls the amount of messages that are generated when running Liquibase commands. The official log levels are: Default: |
--mirror- | Boolean | When set to Default: |
--mirror- | Boolean | Liquibase Secure 4.28.0+. When set to Default: |
--missing- | String | Specifies how to handle changelog property expressions where a value is not set. For example, a string Default: |
--monitor- | Boolean | Enables performance tracking. If Default: |
--on- | String | Controls how Liquibase behaves when it cannot find a changelog specified in an |
--output-file
globalArgs: {output-file: "val"}
liquibase. | String | File path to where the command output will be written. If not specified, output goes to |
--output- | String | Determines which character encoding to use when writing Liquibase command outputs to external files. Default: |
--output- | String | Specifies the string that separates lines in Default: OS default line separator ( |
--preserve- | Boolean | Liquibase 4.30.0+. Forces Liquibase to preserve the prefix Default: |
--preserve- | Boolean | Liquibase 4.12.0+. Determines whether Liquibase treats schema and catalog names as case-sensitive. If If Default: |
--secure- | String | Liquibase 4.25.1+. Specifies a default delimiter for all changesets. Default: It is a best practice not to use |
--secure- | Boolean | Liquibase 4.25.1+. Specifies whether the |
--secure- | Boolean | Liquibase 4.29.2+. Specifies default SQL comment stripping behavior for all changesets. Default: |
--secure- | Boolean | Liquibase 4.29.2+. Specifies whether the Default: |
--secure- | Boolean | Defines whether a column will be dropped when running If If Default: |
--secure- | Boolean | If Default: |
--secure-strict
globalArgs: {secure-strict: "val"}
liquibase. | Boolean | If Default: |
--secure- | Boolean | If Default: |
--prompt- | Boolean | Determines whether Liquibase prompts you if you access a non-local database. Default: |
--property- | String | Implements the |
--search-path
globalArgs: {search-path: "val"}
liquibase. | String | Specifies the locations to search for migration files in. Separate multiple paths with commas. See search-path. |
--secure- | Boolean | Enables the validation of the custom XSD files. If Default: |
--should-run
globalArgs: {should-run: "val"}
liquibase. | Boolean | Determines whether Liquibase commands execute. Default: |
--should- | Boolean | Determines whether Liquibase snapshots your database data. Default: |
--show-banner
globalArgs: {show-banner: "val"}
liquibase. | Boolean | If Default: |
--sql-log-level
globalArgs: {sql-log-level: "val"}
liquibase. | String | Defines the level of logging for SQL statements. Valid values are
Default: |
--sql- | Boolean | Specifies whether Liquibase logs should include Java Default: |
--strict
globalArgs: {strict: "val"}
liquibase. | Boolean | If Default: |
--support- | Boolean | If Default: |
--supports- | String | Liquibase 4.29.0+ . Controls the level of validation to check if a change's Default: |
--suppress- | Boolean | Liquibase 4.29.2+. When set to Default: |
--trim- | Boolean | Liquibase 4.29.0+. Trims whitespace from CSV headers that you call with the Default: |
--ui-service
globalArgs: {ui-service: "val"}
liquibase. | String | Specifies the default UI service logger used by Liquibase. Valid values are Default: |
--use- | Boolean | If Default: |
--validate- | Boolean | If Default: |
DATABASECHANGELOGHISTORY table
Parameter | Typ | Definition |
--dbclhistory- | Boolean | If |
--dbclhistory- | Boolean | If |
--dbclhistory- | Boolean | Enables the DATABASECHANGELOGHISTORY table. This table includes records of rollbacks, dropAlls, and repeated runOnChange type activity, which is not available in the standard DATABASECHANGELOG table. Liquibase 4.27.0+. Default: |
--dbclhistory- | String | The exit code for Liquibase to return if an exception is encountered while recording events to the DATABASECHANGELOGHISTORY table. Valid values are |
Executors
Syntax ( | Type | Description |
--psql-args
globalArgs: {psql-args: "val"}
liquibase. | String | Defines extra arguments to pass to the Note: The delimiter for arguments is a space |
--psql- | Boolean | Indicates whether or not to keep a temporary SQL file after the execution of PSQL. If |
--psql- | String | Indicates the name of a temporary SQL file after the execution of PSQL. If no file name is specified, a name is automatically generated. |
--psql- | String | Specify the path in which to store the temporary files after the execution of PSQL. If not specified, the files will be stored in the system's |
--psql-log-file
globalArgs: {psql-log-file: "val"}
liquibase. | String | Log file for PSQLoutput. |
--psql-path
globalArgs: {psql-path: "val"}
liquibase. | String | Path to Linux:
Windows:
|
--psql-timeout
globalArgs: {psql-timeout: "val"}
liquibase. | Integer | Indicates seconds to wait for the |
--sqlcmd-args
globalArgs: {sqlcmd-args: "val"}
liquibase. | String | Defines extra arguments to pass to the Note: The delimiter for arguments is a space |
--sqlcmd- | String | Database to use when running SQLCMD. |
--sqlcmd- | Boolean | Indicates whether or not to keep a temporary SQL file after the execution of SQLCMD. If |
--sqlcmd- | String | Indicates the name of a temporary SQL file after the execution of SQLCMD. If no file name is specified, a name is automatically generated. |
--sqlcmd- | Boolean | Overwrites any files in the specified directory with the same name. Default: |
--sqlcmd- | String | Specify the path in which to store the temporary files after the execution of SQLCMD. If not specified, the files will be stored in the system's |
--sqlcmd- | String | Log file for SQLCMDoutput. |
--sqlcmd-path
globalArgs: {sqlcmd-path: "val"}
liquibase. | String | Path to Linux:
Windows:
|
--sqlcmd- | Integer | Indicates seconds to wait for the |
--sqlplus-args
globalArgs: {sqlplus-args: "val"}
liquibase. | String | Defines extra arguments to pass to the Note: The delimiter for arguments is a space |
--sqlplus- | Boolean | If |
--sqlplus- | Boolean | Indicates whether or not to keep a temporary SQL file after the execution of SQL Plus. If |
--sqlplus- | String | Indicates the name of a temporary SQL file after the execution of SQL Plus. If no file name is specified, a name is automatically generated. In Oracle, if no file extension is specified, the file is saved as |
--sqlplus- | Boolean | Overwrites any files in the specified directory with the same name. Default: |
--sqlplus- | String | Specify the path in which to store the temporary files after the execution of SQL Plus. If not specified, the files will be stored in the system's |
--sqlplus- | String | Liquibase 4.29.2+. Password to use with the native executor, such as the password for an account with SYSDBA privileges. Liquibase will attempt to use the password exactly as entered. |
--sqlplus-path
globalArgs: {sqlplus-path: "val"}
liquibase. | String | Path to Linux:
or
Windows:
|
--sqlplus- | String | Control the outcome when Liquibase returns a SQL error. The error clause is passed directly to Oracle. Default:
|
--sqlplus- | Integer | Indicates seconds to wait for the |
--sqlplus- | String | Liquibase 4.29.2+. Username to use with the native executor, such as |
Operation Reports
For more information, see Operation Reports.
Syntax ( | Type | Description | Requirement |
--reports- | Boolean | Enables or disables all reports at the global level. Overridden by | Required (either this or |
--reports-name
globalArgs: {reports-name: "val"}
liquibase. | String | Specifies the name of the report file at the global level. Overridden by | Optional |
--reports-open
globalArgs: {reports-open: "val"}
liquibase. | Boolean | Specifies whether to automatically open the report in your default browser at the global level. Overridden by | Optional |
--reports-path
globalArgs: {reports-path: "val"}
liquibase. | String | Specifies the file path to the report file at the global level. Overridden by | Optional |
--reports- | Boolean | Liquibase 4.31.0+. Specifies whether to hide exceptions (which may contain SQL) from operation reports at the global level. Overridden by If If | Optional |
--reports- | Boolean | Liquibase 4.31.0+. Specifies whether to hide changeset SQL in operation reports at the global level. Overridden by | Optional |
Structured logging
Syntax ( | Type | Description |
--custom- | String | Specifies the file that contains the custom data that can be included or excluded from Structured Logs. Available in Liquibase 4.23.2+. See custom- |
--custom- | String | Specifies the frequency that custom log data will be included in Structured Logs. Valid values are: |
Policy checks
Syntax ( | Type | Description |
--script- Read more: | String | Specifies the path Liquibase uses to run the Python executable associated with a virtual environment. For more information, see Create a Python Virtual Environment. |
Amazon DynamoDB
Name ( | Type | Description |
--dynamodb- Read more: | String | Initial billing mode for Liquibase tracking tables (DBCL and DBCLL). This controls how you pay for database read/write operations and capacity. Valid values: Note: If you want to change the billing mode of the tracking tables after you create them, you must instead use the |
--dynamodb- Read more: | Integer | Specifies how many Note: If you want to change the provisioned throughput values of the tracking tables after you create them, you must instead use the |
--dynamodb- Read more: | Integer | Specifies how many Note: If you want to change the provisioned throughput values of the tracking tables after you create them, you must instead use the |
--dynamodb- Read more: | Boolean | Specifies whether to enable or disable the Warning: If you set this parameter to |
--dynamodb- Read more: | Boolean | Specifies whether Liquibase fails if the |
--dynamodb- Read more: | Boolean | Specifies whether Liquibase sends you periodic status notifications while the |
--dynamodb- Read more: | Integer | Specifies the interval in milliseconds for Liquibase to wait between sending status notifications while the |
--dynamodb- Read more: | Integer | Number of seconds for the |
--dynamodb- Read more: | Integer | Maximum number of attempts for the |
--dynamodb- Read more: | Integer | Total number of seconds for the |
--dynamodb- Read more: | Integer | Number of seconds for the |
--dynamodb- Read more: | Integer | Maximum number of attempts for the |
--dynamodb- Read more: | Integer | Total number of seconds for the |
--dynamodb- Read more: | Integer | Number of seconds for the |
--dynamodb- Read more: | Integer | Maximum number of attempts for the |
--dynamodb- Read more: | Integer | Total number of seconds for the |
Databricks
Name ( | Type | Description |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the authentication mechanism for Liquibase to use with Databricks. Valid values are: |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the catalog for Liquibase to use with Databricks. |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the HTTP path of the compute resource (a Databricks cluster or a Databricks SQL warehouse) for Liquibase to use. |
--databricks- Read more: | Integer | Liquibase Secure Databricks extension 1.0.0+. Specifies the OAuth2 authentication flow for the Databricks driver connection. Valid values are: |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the Client ID for OAuth authentication on Databricks. The Client ID is the service principal's UUID or Application ID value. |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the Client Secret for OAuth authentication on Databricks. The Client Secret is the service principal's OAuth Secret value. |
--databricks- Read more: | String | Liquibase Secure Databricks extension 1.0.0+. Specifies the schema for Liquibase to use with Databricks. |
MongoDB Secure
Name ( | Type | Description |
--mongodb- Read more: | Boolean | Validates the Liquibase DATABASECHANGELOG and DATABASECHANGELOGLOCK collections on startup. If they are not up to date with the current release, Liquibase adjusts them. It is a best practice to keep this parameter enabled whenever you upgrade to a new Liquibase version. Default: |
--mongodb- Read more: | String | Authentication mechanism for MongoDB. Valid values are: |
--mongodb- Read more: | String | Cloud provider environment for OIDC authentication. Valid values are: |
--mongodb- Read more: | String | Application ID URI used for OIDC authentication in cloud providers. For example, with Azure: |
--mongodb- Read more: | String | Client ID of the User-Assigned Identity for OIDC authentication. |
--mongodb- Read more: | Boolean | Specifies whether to retry write operations a single time after a failed write. If |
--mongodb- Read more: | Boolean | Specifies whether to create the Liquibase tracking collections with validators. Setting this parameter to |
Global report parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| Boolean | Enables or disables all reports at the global level. Overridden by --report- |
| String | Specifies the name of the report file at the global level. Overridden by --report-name at the command level. If you set a custom name, Liquibase overwrites the existing file every time you generate a new report. Default: |
| Boolean | Specifies whether to automatically open the report in your default browser at the global level. Overridden by --report-open at the command level. Default: |
| String | Specifies the file path to the report file at the global level. Overridden by --report-path at the command level. Default: |
| Boolean | Liquibase 4.31.0+. Specifies whether to hide exceptions (which may contain SQL) from operation reports at the global level. Overridden by --report- |
| Boolean | Liquibase 4.31.0+. Specifies whether to hide changeset SQL in operation reports at the global level. Overridden by --report- |
Mongo shell integration arguments
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| String | Defines extra arguments to pass to the mongosh executable. |
| String | Name of a custom executor you can specify. |
| Boolean | Indicates whether or not to keep a temporary SQL file after the execution of Mongosh. Default: false. |
| String | Indicates the name of a temporary SQL file after the execution of Mongosh. |
| String | Specify the path in which to store the temporary files after the execution of Mongosh. |
| String | Log file for Mongo shell output. |
| String | Path to mongosh executable. |
| Integer | Indicates seconds to wait for the mongosh timeout. -1 disables timeout. 0 returns error. Default: 1800 (30 minutes). |
Configuration
Syntax (properties | Type | Description |
| String | The directory that points to the Liquibase installation location. |
| String | Enables the Liquibase debug mode, which produces more log output and allows the user to debug their database. |
liquibase.
| String | The classloader that runs Liquibase via either system or thread. Default: |
| String | [Deprecated] Specifies a default logging level. Default: |
| Boolean | [Deprecated] Defines whether Liquibase filters log messages for potentially insecure data. Default: |
| String | [Deprecated] Name of a custom executor you can specify. |
Command parameters
You can use command parameters with only certain commands or groups of commands.
Note: Syntax for each parameter is specified in kebab-case (CLI and flow file), camelCase (properties file and JAVA_OPTS), and MACRO_CASE (environment variable).
For best results, specify all commands and parameters in the --kebab-case format in the CLI. If your preference is camelCase, it also works in the CLI.
Note: It is best practice only to use alphanumeric characters and underscores in your liquibase-schema-name, because your database may not support hyphens and other special characters. If you must use hyphens, you must escape the lines containing hyphens. Many databases, such as PostgreSQL, MySQL, and SQLite support using quotes to escape characters. For example, "schemas-with-a-hyphen-or-dash-symbol-in-the-name". You'll need to refer to the documentation for your DBMS to determine if it supports quoted identifiers.
You do not need to use quoted identifiers if you are using objectQuotingStrategy="QUOTE_ALL_OBJECTS" at the changelog/changeset level.
Operation report parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| String | Specifies the severity level of all error types in the drift report (changed, missing, or unexpected content). Valid values are INFO (0), MINOR (1), MAJOR (2), CRITICAL (3), and BLOCKER (4), from least severe to most severe. |
| String | Specifies the severity level of changed content in the drift report. Valid values are INFO (0), MINOR (1), MAJOR (2), CRITICAL (3), and BLOCKER (4). Overrides --drift- |
| String | Specifies the severity level of missing content in the drift report. Valid values are INFO (0), MINOR (1), MAJOR (2), CRITICAL (3), and BLOCKER (4). Overrides --drift- |
| String | Specifies the severity level of unexpected content in the drift report. Valid values are INFO (0), MINOR (1), MAJOR (2), CRITICAL (3), and BLOCKER (4). Overrides --drift- |
| Boolean | If true, automatically opens the report in your default browser. Default: false. |
| Boolean | Enables a report at the command level. Overrides the global parameter --reports- |
| String | Specifies the name of the report file at the command level. Overrides --reports-name. |
| String | Specifies the file path to the report file at the command level. Overrides --reports-path. Default: ./. |
| Boolean | Liquibase 4.31.0+. Specifies whether to hide exceptions from the operation report at the command level. Overrides --reports- |
| Boolean | Liquibase 4.31.0+. Specifies whether to hide changeset SQL in operation reports at the command level. Overrides --reports- |
General command parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| Boolean | Liquibase Secure only. If true, creates a new DATABASECHANGELOG row for the tag. If false, adds the tag to the last existing row. Liquibase 4.23.1+. Default: |
| String | Fully-qualified class specifying Change |
--change-
| String | Path to a properties file for Change |
| String | The author of the changeset. Supports * as a wildcard. |
| String | The changeset ID from the changelog. |
| String | Unique changeset tag in filepath:: |
| String | The path to the changelog containing the changeset to target. |
| String | Specifies the changeset contexts to match. |
| Integer | Specifies the number of changes to apply. |
| String | Directory to send loadData output CSV files generated by diff-changelog or generate- |
| String | The date and time to roll back to. Format: YYYY-MM-DD HH:MM:SS or YYYY- |
| Boolean | If true, drops the DATABASECHANGELOGHISTORY table along with other database objects owned by the user. Liquibase 4.27.0+. Default: |
| String | Specifies which database type a changeset is to be used for. The keywords all and none are also available. |
| String | Name of the default catalog to use for the database connection. |
| String | Name of the default schema to use for the database connection. |
| String | Types of objects to compare. Comma-separated list (no spaces). |
| Boolean | If true, requires the user to specify --force to use the drop-all command. Liquibase 4.27.0+. Default: |
| String | Objects to exclude from diff. |
| Boolean | Liquibase Secure only. When --rollback- |
| Boolean | If true, the catalog will be included in generated changesets. Default: |
| String | Objects to include in diff. |
| Boolean | If true, the schema will be included in generated changesets. Default: |
| Boolean | Include the tablespace attribute in the changelog. Default: |
| String | Specifies the changeset labels to match. |
| String | The directory where database documentation is generated. |
| String | Replaces schemas in the output changelog. Comma-separated list; size must match --schemas. |
| Boolean | Determines whether generate- Default: |
--reference-
| String | Reference database catalog to use for Liquibase objects. Liquibase 4.24.0+. |
--reference-
| String | Reference database schema to use for Liquibase objects. Liquibase 4.24.0+. |
| String | Change Types for which Liquibase sets replace |
| Boolean | Liquibase Secure only. If any changeset fails, stops and rolls back all changesets just deployed. Liquibase 4.18.0+. Default: |
| String | The path to the script to use to perform the rollback. |
| String | Change Types for which Liquibase sets run |
| String | Database schemas to include objects from. |
| String | Produces a summary list of changesets skipped and why. Valid values: OFF, SUMMARY, VERBOSE. Liquibase 4.24.0+. Default: |
| String | Output destination for the update summary. Valid values: LOG, CONSOLE, ALL. Liquibase 4.24.0+. |
| Boolean | If true, skips object sorting so objects are ordered as returned by your database. Liquibase 4.27.0+. |
| String | Controls which types of objects to include in the snapshot. Liquibase Secure 4.26.0+. |
| String | Output format for snapshot. Valid values: JSON, YAML, TXT. Default: |
| String | The SQL string to execute. |
| String | The file where SQL statements are stored. |
| String | The tag identifying which tagged changesets to evaluate. |
| String | Tag version when multiple instances exist. Valid values: NEWEST, OLDEST. |
| Boolean | Specifies the detail level of the command output. Default: |
Policy check parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
String | The Liquibase component to run checks against. Valid values: changelog, database. | |
Boolean | If true, changesets are evaluated after property substitution. Default: true. | |
| Boolean | Automatically enable new policy checks in liquibase. Default: |
| String | Allows automatic backup and updating of the liquibase. Default: |
--cache-
| Boolean | If true, sqlFile Change Type contents are cached in memory to improve performance. Default: |
| String | The changelog file against which you execute checks when running liquibase checks run. |
| String | Specifies whether policy checks run on ALL changesets or only PENDING changesets. Default: |
| String | The name of the check(s) to target. Comma-separated list; prefix with ! to exclude. |
| String | Allow changeset rollback code to be analyzed for compliance with policy checks. Default: |
| String | Only show checks in the specified status. Valid values: ENABLED, DISABLED, ALL. Default: |
| String | Specify which parts of the checks run output to show. Default: |
| String | If using a checks packages file, specify which packages to run as a comma-separated list. |
| Boolean | Allow execution of custom script checks. Default: |
| String | Only allow custom scripts from the specified directories to execute. |
| String | Specifies the checks settings file to use with policy checks commands. |
| Boolean | Disable all qualifying checks in the checks settings file. Default: |
| Boolean | Enable all qualifying checks in the checks settings file. Default: |
| Boolean | If true, Liquibase does not ask for confirmation when you run this command. Default: |
| String | Sets the format of the check output. Valid values: TXT, JSON. Default: |
| String | One or more comma-separated relative paths to checks settings files to bundle into the checks package. |
| String | The relative or fully qualified path and filename of the checks package YAML file to create. Default: |
| String | The name of the checks package object to create inside the checks package YAML file. |
| String | The schemas to check when --checks-scope contains database. |
| String | Set the severity return code (0–4) when the check is triggered. Default: |
| String | Only show the specified columns. Options: id, checkname, type, priority, shortname, scope, status, severity, customization, description, all. Default: |
| String | Severity returned when a check fails due to a SQL parse error. Values: 0 (INFO), 1 (MINOR), 2 (MAJOR), 3 (CRITICAL), 4 (BLOCKER). Defaults to the executed check's severity. |
| String | The JDBC database connection URL. |
Init parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| Boolean | Recursively copy files from the source directory. Default: |
| String | Source directory where the project files will be copied from. Default: |
| String | Path to the directory where the project files will be created. |
| String | Relative or fully qualified path to the changelog file. Default: |
| String | Format of the project changelog file. Default: |
| Boolean | For remote project locations, do not delete temporary project files. Default: |
| String | Password to use to connect to the database. Default: |
| String | File with default Liquibase properties. Default: |
| String | An optional parameter used to specify the directory containing files (existing or to be auto-created) to be used with Liquibase. Default: |
| String | Turns on or off the CLI interactive mode. Default: |
| String | The JDBC database connection URL. Default: |
| String | Username to connect to the database. Default: |
| String | Network address to bind to. Default: |
| String | Port to run the h2 database on. Default: |
| Boolean | Whether to open a browser to the database's web interface. Default: |
| String | Password to use for the created h2 user. Default: |
| String | Username to create in h2. Default: |
| String | Port to run h2's web interface on. Default: |
Connection profile parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
String | Specifies the root changelog file to execute. | |
String | The JDBC driver class. | |
String | The JDBC driver properties file. | |
| String | Password to connect to the target database. |
--reference-
| String | The reference default catalog name to use for the database connection. |
--reference-
| String | The reference default schema name to use for the database connection. |
| String | The JDBC driver class for the reference database. |
--reference-
| String | The JDBC driver properties file for the reference database. |
| String | Password to connect to the reference database. |
| String | Comma-separated list of reference schemas to use in diff operations. |
| String | The JDBC connection URL for the reference database. |
| String | Username to connect to the reference database. |
| String | The JDBC connection URL for the target database. |
| String | Username to connect to the target database. |
Property substitution
Syntax | Description |
CLI only. Pass a name/value pair for substitution in the changelog(s). On Windows, surround the property name in quotation marks if it contains a dot. For example: |
Flow file parameters
Syntax (--cli, {flow-file}, propertiesFile, ENV_VAR) | Type | Description |
| String | The path to the configuration YAML file which contains one or more "stages" of commands to be executed in a liquibase flow operation. Default: |
| Boolean | If true, parse flow file YAML to allow only Liquibase flow file-specific properties, indentations, and structures. Default: |
| String | The default interpreter used to execute shell commands. Examples include bash, sh, and cmd. |
| Boolean | If true, do not delete temporary files created by the shell command execution. Default: |