Flyway settings

These are the Flyway configuration parameters, and are read by both Flyway Desktop and the Flyway CLI.

Elements

NameRequired?TypeDescription
batchNoBooleanSee here
callbacksNoString arraySee here
cherryPickNoString arraySee here
configFileEncodingNoStringSee here
detectEncodingNoBooleanSee here
dryRunOutputNoStringSee here
encodingNoStringSee here
errorOverridesNoString arraySee here
executeInTransactionNoBooleanSee here
groupNoBooleanSee here
installedByNoStringSee here
jarDirsNoString arraySee here
kerberosConfigFileNoStringSee here
licenseKeyNoStringSee here
locationsNoString arraySee here
failOnMissingLocationsNoBooleanSee here
lockRetryCountNoIntegerSee here
loggersNoString arraySee here
mixedNoBooleanSee here
outOfOrderNoBooleanSee here
outputQueryResultsNoBooleanSee here
skipDefaultCallbacksNoBooleanSee here
skipDefaultResolversNoBooleanSee here
skipExecutingMigrationsNoBooleanSee here
streamNoBooleanSee here
tableNoStringSee here
tablespaceNoStringSee here
targetNoStringSee here
validateMigrationNamingNoBooleanSee here
validateOnMigrateNoBooleanSee here
workingDirectoryNoStringSee here
createSchemasNoBooleanSee here
defaultSchemaNoStringSee here
baselineDescriptionNoStringSee here
baselineOnMigrateNoBooleanSee here
baselineVersionNoStringSee here
cleanDisabledNoBooleanSee here
cleanOnValidationErrorNoBooleanSee here
ignoreMigrationPatternsNoString arraySee here
baselineMigrationPrefixNoStringSee here
repeatableSqlMigrationPrefixNoStringSee here
resolversNoString arraySee here
sqlMigrationPrefixNoStringSee here
sqlMigrationSeparatorNoStringSee here
sqlMigrationSuffixesNoString arraySee here
undoSqlMigrationPrefixNoStringSee here
placeholdersNoString, String mapSee here
placeholderPrefixNoStringSee here
placeholderSeparatorNoStringSee here
placeholderReplacementNoBooleanSee here
placeholderSuffixNoStringSee here
scriptPlaceholderPrefixNoStringSee here
scriptPlaceholderSuffixNoStringSee here
plugins.sqlserverNoSQL Server tableConfiguration parameters specific to SQL Server
oracleNoOracle tableConfiguration parameters specific to Oracle
postgresqlNoPostgreSQL tableConfiguration parameters specific to PostgreSQL

Oracle table

sqlplusNoBooleanSee here
sqlplusWarnNoBooleanSee here
kerberosCacheFileNoStringSee here
walletLocationNoStringSee here

PostgreSQL table

transactionalLockNoBooleanSee here

SQL Server table

kerberosLoginFile

NoStringSee here

Example

[flyway]
defaultSchema = "dbo"
locations = ["filesystem:migrations"]
validateMigrationNaming = true

[flyway.placeholders]
placeholderA = "A"
placeholderB = "B"

[flyway.plugins.sqlserver]
kerberosLoginFile = "kerberos-login-file"

[flyway.oracle]
sqlplus = true

[flyway.postgresql]
transactionalLock = true

Didn't find what you were looking for?