Change Intelligence is coming.

  • Reference
  • Version · 5.0.3
  • Reference guide

mongodb-supports-validator

Last updated: September 24, 2026

--mongodb-supports-validator is a global parameter for the Liquibase MongoDB Open Source extension. It specifies whether to create the Liquibase tracking collections with validators. The default value is true.

Uses

Setting this parameter to false permits Liquibase usage on MongoDB versions not supporting validators.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Liquibase properties file (defaults file)

liquibase.mongodb.supportsValidator: <true|false>

Global flow file argument (example)

stages: Default: actions: - type: liquibase command: update

globalArgs: { mongodb-supports-validator: "<true|false>" }

Global CLI parameter

liquibase --mongodb-supports-validator=<true|false> update

--changelog-file=example-changelog.xml

JVM system property JAVA_Opts Environment Variable

Unix:

JAVA_OPTS=-Dliquibase.supportsValidator=<true|false>

Windows:

JAVA_OPTS=-D"liquibase.supportsValidator=<true|false>

Liquibase environment variables

LIQUIBASE_MONGODB_SUPPORTS_VALIDATOR=<true|false>

For more information, see Working with Command Parameters.