Redgate Flyway

Flyway Placeholder Replacement Setting

Description

Whether placeholders should be replaced.

Note that this setting can be set from Script Configuration in addition to project configuration.

Type

Boolean

Default

true

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

./flyway -placeholderReplacement="false" info

TOML Configuration File

[flyway]
placeholderReplacement = false

Configuration File

flyway.placeholderReplacement=false

Script Configuration File

flyway.placeholderReplacement=false

Environment Variable

FLYWAY_PLACEHOLDER_REPLACEMENT=false

API

Flyway.configure()
    .placeholderReplacement(false)
    .load()

Gradle

flyway {
    placeholderReplacement = false
}

Maven

<configuration>
    <placeholderReplacement>false</placeholderReplacement>
</configuration>

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?