Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Clickhouse Cluster Name Setting

Description

The name of the Clickhouse cluster.

Type

String

Default

none

Usage

Flyway Desktop

This can't be configured via Flyway Desktop, although it will be honoured.

Command-line

./flyway -clickhouse.clusterName="example_cluster" info

TOML Configuration File

[flyway.clickhouse]
clusterName="example_cluster"

Configuration File

flyway.clickhouse.clusterName=example_cluster

Environment Variable

FLYWAY_CLICKHOUSE_CLUSTER_NAME=example_cluster

API

ClickHouseConfigurationExtension clickHouseConfigurationExtension = configuration.getPluginRegister().getPlugin(ClickHouseConfigurationExtension.class);
clickHouseConfigurationExtension.setClusterName("example_cluster");

Gradle

flyway {
    pluginConfiguration = [
        clickhouseClusterName: 'example_cluster'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <clickhouseClusterName>example_cluster</clickhouseClusterName>
    </pluginConfiguration>
</configuration>

Didn't find what you were looking for?