Redgate Flyway

Flyway Check Scope Setting

This is available in Flyway CLI only

Description

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

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

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

TOML Configuration File

[flyway.check]
scope = "ALL"

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?