Flyway Community DB Support Enabled Setting
Published 15 January 2025
Description
Whether to enable support for community databases. Set to
false
to prevent Flyway from using a community database connection.
This is especially useful for production environments where using a community database connection could be undesirable.
Type
Boolean
Default
true
Usage
Flyway Desktop
This can't be configured via Flyway Desktop, although it will be honoured.
Command-line
./flyway -communityDBSupportEnabled="false" migrate
TOML Configuration File
[flyway]
communityDBSupportEnabled = false
Configuration File
flyway.communityDBSupportEnabled=false
Environment Variable
FLYWAY_COMMUNITY_DB_SUPPORT_DISABLED=false
API
Flyway.configure()
.communityDBSupportEnabled(false)
.load()
Gradle
flyway {
communityDBSupportEnabled = false
}
Maven
<configuration>
<communityDBSupportEnabled>false</communityDBSupportEnabled>
</configuration>