database-changelog-lock-table-name

--database-changelog-lock-table-name is a global parameter that specifies the name of the DATABASECHANGELOGLOCK table. The default value is DATABASECHANGELOGLOCK.

Uses

If your organization has a custom naming convention for tables, you can use --database-changelog-lock-table-name to ensure that the DBCLL adheres to it.

If you have a multi-tenant database environment, giving unique names to resources like the DBCLL may reduce the risk of conflicts between tenants.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Liquibase properties file (defaults file)

liquibase.databaseChangelogLockTableName: <string>

Global flow file argument

globalArgs: { database-changelog-lock-table-name: "<string>" }

Global CLI parameter

liquibase ---database-changelog-lock-table-name=<string> update --changelog-file=example-changelog.xml

JVM system property (JAVA_OPTS environment variable)

Unix:

JAVA_OPTS=-Dliquibase.databaseChangelogLockTableName=<string>

Windows:

JAVA_OPTS=-D"liquibase.databaseChangelogLockTableName"=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_CHANGELOG_FILE=<string>