Flyway

Baseline

Baseline

Baselines an existing database, excluding all migrations up to and including baselineVersion.

Baseline

Baseline is for introducing Flyway to existing databases by baselining them at a specific version. This will cause Migrate to ignore all migrations up to and including the baseline version. Newer migrations will then be applied as usual.

Resetting the baseline

When you have many migrations, it might be desirable to reset your baseline migration. This will allow you to reduce the overhead of dealing with lots of scripts, many of which might be old and irrelevant.

Learn more about the concept of Baseline Migrations and a Baseline Migration tutorial

Usage

See configuration for baseline specific configuration parameters.


Didn't find what you were looking for?