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

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>