Redgate Flyway

Flyway Snapshot Build Environment Setting

Description

If snapshot source is "migrations", this specifies the environment to use as the build environment. Must match the id of an environment specified in environments.

Type

String

Default

none - this is a required parameter when source of snapshot command is "migrations"

Usage

Flyway Desktop

This can't be added to a configuration file via Flyway Desktop.

Command-line

./flyway snapshot -source="migrations" -buildEnvironment="shadow"

TOML Configuration File

[flyway.snapshot]
buildEnvironment = "shadow"

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?