Flyway Check Scope Setting
Published 03 July 2025
This is available in Flyway CLI only
Description
If this parameter is specified, Flyway will use it to determine the scope of migration files to include in code analysis.
Note: Only the following values are valid for this parameter (case-insensitive):
- DEFAULT
- ALL
- PENDING
Type
String
Default
If not specified, Flyway determines the scope based on the presence of a connection URL. If a connection URL is provided, only PENDING migrations are included; otherwise, ALL migrations are analyzed.
Usage
Command-line
./flyway check -code -check.scope=ALL
TOML Configuration File
[flyway.check]
scope = "ALL"