New! – Try automated migration testing Learn more

Flyway Documentation

Poll

Script Placeholder Prefix

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>