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

Flyway Documentation

Create Schemas

Description

Whether Flyway should attempt to create the schemas specified in the schemas property. See this page for more details

Default

true

Usage

Commandline

./flyway -createSchemas="false" info

Configuration File

flyway.createSchemas=false

Environment Variable

FLYWAY_CREATE_SCHEMAS=false

API

Flyway.configure()
    .createSchemas(false)
    .load()

Gradle

flyway {
    createSchemas = false
}

Maven

<configuration>
    <createSchemas>false</createSchemas>
</configuration>