Working Directory

Working Directory

Description

The working directory to consider when dealing with relative paths. If configured, this parameter will affect the below areas:

Default

empty

Usage

Commandline

./flyway -workingDirectory="my_project" info

TOML Configuration File

Not available

Configuration File

Not available

Environment Variable

Not available

API

Flyway.configure()
        .workingDirectory("my_project")
        .load()

Gradle

Not available

Maven

<configuration>
    <workingDirectory>my_project</workingDirectory>
</configuration>

Notes

If this parameter is left empty, Flyway will use the directory that Flyway is executed in.


Didn't find what you were looking for?