Configuration

MigrateDB has many different parameters that can be set to configure its behavior. These parameters can be set through a variety of different means, depending on how you are using MigrateDB.

Usage

Command Line

If using the command line, config parameters can be set via command line arguments ( e.g. ./migratedb -url=jdbc:h2:mem:migratedb info), configuration files, or environment variables (e.g. MIGRATEDB_URL=jdbc:h2:mem:migratedb).

API

If using the API, config parameters can be set via calling methods on the configuration object returned by MigrateDb.configure() (e.g. MigrateDb.configure().url("jdbc:h2:mem:migratedb").load()) , configuration files.

Parameters

Connection

General

Schema

Baseline

Clean

Validate

Migrations

Placeholders