SQL Migration Prefix

Description

The file name prefix for versioned SQL migrations.

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

Default

V

Usage

Command line

./migratedb -sqlMigrationPrefix="M" info

Configuration File

migratedb.sqlMigrationPrefix=M

Environment Variable

MIGRATEDB_SQL_MIGRATION_PREFIX=M

API

MigrateDb.configure()
    .sqlMigrationPrefix("M")
    .load()