Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This script will form your baseline migration. Save it in the same location in the GIT repository where you plan to have your future versioned and repeatable migrations. Give it a relevant version number and description such as V1V0__baseline_migration.sql.

...

Now comes the time to baseline the databases that contain data (including production) with a baseline version. This will automatically happen when we run the flyway pipeline for the first time.. it will mark it as the baselined version on the flyway history schema that will be created and future migrations with version > 10.0 will be released as versioned migrations.