Configuration Reference

Version:2.0.2

Flyway Config Properties

🔗
Table 1. Configuration Properties for FlywayConfigurationProperties
Property Type Description

flyway.datasources.*.configuration

org.flywaydb.core.api.configuration.Configuration

flyway.datasources.*.dry-run-output

java.io.OutputStream

flyway.datasources.*.error-overrides

java.lang.String[]

flyway.datasources.*.group

boolean

flyway.datasources.*.installed-by

java.lang.String

flyway.datasources.*.mixed

boolean

flyway.datasources.*.ignore-missing-migrations

boolean

flyway.datasources.*.ignore-ignored-migrations

boolean

flyway.datasources.*.ignore-pending-migrations

boolean

flyway.datasources.*.ignore-future-migrations

boolean

flyway.datasources.*.validate-migration-naming

boolean

flyway.datasources.*.validate-on-migrate

boolean

flyway.datasources.*.clean-on-validation-error

boolean

flyway.datasources.*.clean-disabled

boolean

flyway.datasources.*.encoding

java.lang.String

flyway.datasources.*.default-schema

java.lang.String

flyway.datasources.*.schemas

java.lang.String[]

flyway.datasources.*.table

java.lang.String

flyway.datasources.*.tablespace

java.lang.String

flyway.datasources.*.target

org.flywaydb.core.api.MigrationVersion

flyway.datasources.*.placeholder-replacement

boolean

flyway.datasources.*.placeholders

java.util.Map

flyway.datasources.*.placeholder-prefix

java.lang.String

flyway.datasources.*.placeholder-suffix

java.lang.String

flyway.datasources.*.sql-migration-prefix

java.lang.String

flyway.datasources.*.undo-sql-migration-prefix

java.lang.String

flyway.datasources.*.repeatable-sql-migration-prefix

java.lang.String

flyway.datasources.*.sql-migration-separator

java.lang.String

flyway.datasources.*.sql-migration-suffixes

java.lang.String[]

flyway.datasources.*.java-migrations

org.flywaydb.core.api.migration.JavaMigration[]

flyway.datasources.*.data-source

javax.sql.DataSource

flyway.datasources.*.connect-retries

int

flyway.datasources.*.init-sql

java.lang.String

flyway.datasources.*.baseline-version

org.flywaydb.core.api.MigrationVersion

flyway.datasources.*.baseline-description

java.lang.String

flyway.datasources.*.baseline-on-migrate

boolean

flyway.datasources.*.out-of-order

boolean

flyway.datasources.*.callbacks

org.flywaydb.core.api.callback.Callback[]

flyway.datasources.*.skip-default-callbacks

boolean

flyway.datasources.*.resolvers

org.flywaydb.core.api.resolver.MigrationResolver[]

flyway.datasources.*.skip-default-resolvers

boolean

flyway.datasources.*.stream

boolean

flyway.datasources.*.batch

boolean

flyway.datasources.*.oracle-sqlplus

boolean

flyway.datasources.*.oracle-sqlplus-warn

boolean

flyway.datasources.*.license-key

java.lang.String

flyway.datasources.*.load-default-configuration-files

java.lang.String

flyway.datasources.*.enabled

boolean

Set whether this flyway configuration is enabled. Default value (true).

flyway.datasources.*.async

boolean

Whether flyway migrations should run asynchronously.

flyway.datasources.*.clean-schema

boolean

Set whether Flyway will clean the schema before running the migrations. Default value (false).

flyway.datasources.*.url

java.lang.String

The JDBC url of the database to migrate

flyway.datasources.*.user

java.lang.String

The user of the database to migrate

flyway.datasources.*.password

java.lang.String

The password of the database to migrate

flyway.datasources.*.username

java.lang.String

The username of the database to migrate

flyway.datasources.*.locations

java.lang.String[]

The locations for the migrations