Interface MigrationChecksumProvider


  • @Deprecated
    public interface MigrationChecksumProvider
    Deprecated.
    Extend JavaMigration or BaseJavaMigration instead. Will be removed in Flyway 6.0.
    Migration implementors that also implement this interface will be able to specify their checksum (for validation), instead of having it automatically computed or default to null (for Java Migrations).
    • Method Detail

      • getChecksum

        Integer getChecksum()
        Deprecated.
        Computes the checksum of the migration.
        Returns:
        The checksum of the migration.