Configuration Reference

Version:7.6.0

Micronaut Flyway Config Properties

🔗
Table 1. Configuration Properties for FlywayConfigurationProperties
Property Type Description

flyway.datasources.*.enabled

boolean

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

flyway.datasources.*.async

boolean

Whether the flyway migrations should run asynchronously. Default value: false.

flyway.datasources.*.clean-schema

boolean

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.*.username

java.lang.String

The username of the database to migrate

flyway.datasources.*.password

java.lang.String

The password of the database to migrate.

flyway.datasources.*.report-filename

java.lang.String

flyway.datasources.*.environment

java.lang.String

flyway.datasources.*.provision-mode

org.flywaydb.core.internal.configuration.resolvers.ProvisionerMode

flyway.datasources.*.working-directory

java.lang.String

flyway.datasources.*.clear-cached-resolved-environment

java.lang.String

flyway.datasources.*.error-overrides

java.lang.String

flyway.datasources.*.group

boolean

flyway.datasources.*.installed-by

java.lang.String

flyway.datasources.*.loggers

java.lang.String

flyway.datasources.*.mixed

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.*.community-dbsupport-enabled

boolean

flyway.datasources.*.execute-in-transaction

boolean

flyway.datasources.*.detect-encoding

boolean

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.*.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.*.placeholder-separator

java.lang.String

flyway.datasources.*.script-placeholder-prefix

java.lang.String

flyway.datasources.*.script-placeholder-suffix

java.lang.String

flyway.datasources.*.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.*.connect-retries

int

flyway.datasources.*.connect-retries-interval

int

flyway.datasources.*.init-sql

java.lang.String

flyway.datasources.*.baseline-description

java.lang.String

flyway.datasources.*.baseline-on-migrate

boolean

flyway.datasources.*.out-of-order

boolean

flyway.datasources.*.skip-executing-migrations

boolean

flyway.datasources.*.skip-default-callbacks

boolean

flyway.datasources.*.skip-default-resolvers

boolean

flyway.datasources.*.stream

boolean

flyway.datasources.*.batch

boolean

flyway.datasources.*.lock-retry-count

int

flyway.datasources.*.kerberos-config-file

java.lang.String

flyway.datasources.*.output-query-results

boolean

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

java.lang.String

flyway.datasources.*.create-schemas

boolean

flyway.datasources.*.fail-on-missing-locations

boolean

flyway.datasources.*.driver

java.lang.String

flyway.datasources.*.create-progress

java.lang.String

flyway.datasources.*.properties

java.util.Map

flyway.datasources.*.dry-run-output

java.lang.String

Sets the dry run output filename.

flyway.datasources.*.ignore-migration-patterns

java.lang.String

Sets the migration patterns to ignore.

flyway.datasources.*.locations

java.lang.String

Sets the locations to scan recursively for migrations.

flyway.datasources.*.encoding

java.lang.String

Sets the encoding of SQL migrations.

flyway.datasources.*.target

java.lang.String

Sets the target version up to which Flyway should consider migrations.

flyway.datasources.*.baseline-version

java.lang.String

The version to tag an existing schema with when executing baseline. Passes through to {@link FluentConfiguration#baselineVersion(String)}