New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

Poll

Script Placeholder Suffix

Description

The suffix of every script migration placeholder

Default

__

Usage

Commandline

./flyway -scriptPlaceholderSuffix="__P" info

Configuration File

flyway.scriptPlaceholderSuffix=__P

Environment Variable

FLYWAY_SCRIPT_PLACEHOLDER_SUFFIX=__P

API

Flyway.configure()
    .scriptPlaceholderSuffix("__P")
    .load()

Gradle

flyway {
    scriptPlaceholderSuffix = '__P'
}

Maven

<configuration>
    <scriptPlaceholderSuffix>__P</scriptPlaceholderSuffix>
</configuration>