Working Directory
Published 31 October 2023
Working Directory
Description
The working directory to consider when dealing with relative paths. If configured, this parameter will affect the below areas:
- Looking for the default migration locations folder.
- Looking for the default jars folder.
- Looking for the default Rules Location folder.
- Looking for default Configuration Files.
- The
locations
parameter - The
jarDirs
parameter - The
configFiles
parameter - The
reportFilename
parameter - The
snapshotFilename
parameter - The
dryRunOutput
parameter - The
deployedSnapshot
parameter - The
nextSnapshot
parameter - The
filterFile
parameter - The
rulesLocation
parameter
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.