Validate Migration Naming

Description

Whether to ignore migration files whose names do not match the naming conventions.

If false, files with invalid names are ignored and MigrateDB continues normally. If true, MigrateDB fails fast and lists the offending files.

Default

false

Usage

Command line

./migratedb -validateMigrationNaming="true" info

Configuration File

migratedb.validateMigrationNaming=true

Environment Variable

MIGRATEDB_VALIDATE_MIGRATION_NAMING=true

API

MigrateDb.configure()
    .validateMigrationNaming(true)
    .load()