Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

Poll

Script Placeholder Prefix

Flyway Teams

Description

The prefix of every script migration placeholder

Default

FP__

Usage

Commandline

./flyway -scriptPlaceholderPrefix="P__" info

Configuration File

flyway.scriptPlaceholderPrefix=P__

Environment Variable

FLYWAY_SCRIPT_PLACEHOLDER_PREFIX=P__

API

Flyway.configure()
    .scriptPlaceholderPrefix("P__")
    .load()

Gradle

flyway {
    scriptPlaceholderPrefix = 'P__'
}

Maven

<configuration>
    <scriptPlaceholderPrefix>P__</scriptPlaceholderPrefix>
</configuration>