Back to Flyway

Flyway Generate Undo Filename Setting

documentation/Reference/Configuration/Flyway Namespace/Flyway Generate Namespace/Flyway Generate Undo Filename Setting.md

latest697 B
Original Source

Description

The filename (or full path) to use for the generated undo migration. Mutually exclusive with generate.description & generate.version. If this is a relative path, it will be resolved relative to your working directory.

Type

String

Default

<i>none</i>

Usage

Flyway Desktop

This can't be added to a configuration file via Flyway Desktop.

Command-line

bash
./flyway generate -undoFilename=U001__dropTable.sql

TOML Configuration File

It is unlikely to be desirable to specify this in a config file, but it is possible:

toml
[flyway.generate]
undoFilename = "U001__dropTable.sql"