SQL Migration Separator

Description

The file name separator for Sql migrations.

Versioned SQL migrations have the following file name structure: prefixVERSIONseparatorDESCRIPTIONsuffix, which using the defaults translates to V1.1__My_description.sql

Default

__

Usage

Command line

./migratedb -sqlMigrationSeparator="-" info

Configuration File

migratedb.sqlMigrationSeparator=-

Environment Variable

MIGRATEDB_SQL_MIGRATION_SEPARATOR=-

API

MigrateDb.configure()
    .sqlMigrationSeparator("-")
    .load()