Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

This documentation is deprecated. The new documentation can now be found on documentation.red-gate.com

Poll

Repair

Repairs the schema history table.

Repair

Repair is your tool to fix issues with the schema history table. It has a few main uses:

  • Remove failed migration entries (only for databases that do NOT support DDL transactions)
  • Realign the checksums, descriptions, and types of the applied migrations with the ones of the available migrations
  • Mark all missing migrations as deleted
    • As a result, repair must be given the same locations as migrate!

Usage

Command-line