New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

Poll

Skip Default Callbacks

Description

Whether default built-in callbacks (sql) should be skipped. If true, only custom callbacks are used.

Default

false

Usage

Commandline

./flyway -skipDefaultCallbacks="true" info

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>