Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Installed By Setting

Description

The username that will be recorded in the schema history table as having applied the migration.

Type

String

Default

Current database user

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

./flyway -installedBy="ci-pipeline" clean

TOML Configuration File

[flyway]
installedBy = "ci-pipeline"

Configuration File

flyway.installedBy=ci-pipeline

Environment Variable

FLYWAY_INSTALLED_BY=ci-pipeline

API

Flyway.configure()
    .installedBy("ci-pipeline")
    .load()

Gradle

flyway {
    installedBy = 'ci-pipeline'
}

Maven

<configuration>
    <installedBy>ci-pipeline</installedBy>
</configuration>

Didn't find what you were looking for?