Back to Flyway

Flyway Placeholder Prefix Setting

documentation/Reference/Configuration/Flyway Namespace/Flyway Placeholder Prefix Setting.md

latest832 B
Original Source

Description

The prefix of every placeholder

Type

String

Default

"${"

Usage

Flyway Desktop

This can't be configured via Flyway Desktop, although it will be honoured.

Command-line

powershell
./flyway -placeholderPrefix="$$" info

TOML Configuration File

toml
[flyway]
placeholderPrefix = "$$"

Configuration File

properties
flyway.placeholderPrefix=$$

Environment Variable

properties
FLYWAY_PLACEHOLDER_PREFIX=$$

API

java
Flyway.configure()
    .placeholderPrefix("$$")
    .load()

Gradle

groovy
flyway {
    placeholderPrefix = '$$'
}

Maven

xml
<configuration>
    <placeholderPrefix>$$</placeholderPrefix>
</configuration>