Get the most out of Flyway v7 - Sign up for our webinar on the Redgate Hub ▶ Watch now

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>