Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Db2 zOS Database Name Setting

Description

(Required) The name of the DB2 z/OS database. This is used as a namespace for storage objects like tablespaces, similar to what a schema is for tables and indexes.

Type

String

Default

none

Usage

Flyway Desktop

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

Command-line

./flyway -db2z.databaseName="example_database" info

TOML Configuration File

[flyway.db2z]
databaseName="example_database"

Configuration File

flyway.db2z.databaseName="example_database"

Environment Variable

FLYWAY_DB2Z_DATABASE_NAME=example_database

API

DB2ZConfigurationExtension dB2ZConfigurationExtension = configuration.getPluginRegister().getPlugin(DB2ZConfigurationExtension.class);
dB2ZConfigurationExtension.setDatabaseName("example_database");

Gradle

flyway {
    pluginConfiguration = [
        db2zDatabaseName: 'example_database'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <db2zDatabaseName>example_database</db2zDatabaseName>
    </pluginConfiguration>
</configuration>

Didn't find what you were looking for?