Want more control over your database deployments? – Find out how with Carlos Robles at Redgate Summit Register now

Flyway Documentation

Baseline Version

Description

The version to tag an existing schema with when executing baseline.

Default

1

Usage

Commandline

./flyway -baselineVersion="0.0" baseline

Configuration File

flyway.baselineVersion=0.0

Environment Variable

FLYWAY_BASELINE_VERSION=0.0

API

Flyway.configure()
    .baselineVersion("0.0")
    .load()

Gradle

flyway {
    baselineVersion = '0.0'
}

Maven

<configuration>
    <baselineVersion>0.0</baselineVersion>
</configuration>