Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Working Directory Parameter

Description

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

Type

String

Default

none

Usage

Command-line

./flyway -workingDirectory="my_project" info

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?