--replace-if-exists-types

Last updated: May 1, 2026

Change Types for which Liquibase sets replaceIfExists="true". Liquibase 4.26.0+.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--replace-if-exists-types=<string>

Liquibase properties file (defaults file)

liquibase.command.replaceIfExistsTypes: <string>

Command flow file argument (example)

cmdArgs: { replace-if-exists-types: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.replaceIfExistsTypes=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_REPLACE_IF_EXISTS_TYPES=<string>