Back to Flyway

Flyway Check Scope Setting

documentation/Reference/Configuration/Flyway Namespace/Flyway Check Namespace/Flyway Check Scope Setting.md

latest670 B
Original Source

{% include commandlineonly.html %}

Description

If this parameter is specified, Flyway will use it to determine the scope of files to include in code analysis.

Note: Only the following values are valid for this parameter (case-insensitive):

  • DEFAULT
  • ALL
  • PENDING
  • SCRIPT

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

powershell
./flyway check -code -check.scope=ALL

TOML Configuration File

toml
[flyway.check]
scope = "ALL"