Fail On Drift

Fail on Drift

Flyway Enterprise

Description

Where drift has been detected as part of Flyway check, this can be used to cause Flyway to exit with an error (the return/exit code is not 0). This would typically be used to stop a pipeline from proceeding to subsequent steps because the presence of drift suggests your DB has been changed outside of a flyway deployment pipeline and some action will need to be taken to bring the DB back to a managed state.

Default

false

Usage

"./flyway check -drift -check.failOnDrift=true"

TOML Configuration File

[flyway.check]
failOnDrift = true

Configuration File

flyway.check.failOnDrift=true

Didn't find what you were looking for?