Example usage for org.springframework.boot.autoconfigure.flyway FlywayMigrationStrategy interface-usage

List of usage examples for org.springframework.boot.autoconfigure.flyway FlywayMigrationStrategy interface-usage

Introduction

In this page you can find the example usage for org.springframework.boot.autoconfigure.flyway FlywayMigrationStrategy interface-usage.

Usage

From source file org.apache.nifi.registry.db.CustomFlywayMigrationStrategy.java

/**
 * Custom Flyway migration strategy that lets us perform data migration from the original database used in the
 * 0.1.0 release, to the new database. The data migration will be triggered when it is determined that new database
 * is brand new AND the legacy DB properties are specified. If the primary database already contains the 'BUCKET' table,
 * or if the legacy database properties are not specified, then no data migration is performed.
 */