Get the most out of Flyway v7 - Sign up for our webinar on the Redgate Hub ▶ Watch now

Installed By

Description

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

Default

Current database user

Usage

Commandline

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

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>