Flyway Skip Default Callbacks Setting
Published 15 January 2025
Description
Whether default built-in callbacks (sql) should be skipped. If true, only custom callbacks are used.
Type
Boolean
Default
false
Usage
Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
Command-line
. Namespace/Flyway callbacks) are used.
## Type
Boolean
## Default
`false`
## Usage
### Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.
### Command-line
```powershell
. flyway -skipDefaultCallbacks="true" info
TOML Configuration File
[flyway]
skipDefaultCallbacks = true
Configuration File
flyway.skipDefaultCallbacks=true
Environment Variable
FLYWAY_SKIP_DEFAULT_CALLBACKS=true
API
Flyway.configure()
.skipDefaultCallbacks(true)
.load()
Gradle
flyway {
skipDefaultCallbacks = true
}
Maven
<configuration>
<skipDefaultCallbacks>true</skipDefaultCallbacks>
</configuration>