Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Generate Versioned Filename Setting

Description

The filename (or full path) to use for the generated versioned 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

none

Usage

Flyway Desktop

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

Command-line

./flyway generate -versionedFilename=V001__addTable.sql

TOML Configuration File

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

[flyway.generate]
versionedFilename = "V001__addTable.sql"

Didn't find what you were looking for?