Interface CustomMigrationValidator


public interface CustomMigrationValidator
Custom migration validator.
Applications may enforce extra rules on the migration. The validators must be annotated with the Service-annotation as follows:
    @Service(CustomMigrationValidator.class)
    public class MyMigrationValidator implements CustomMigrationValidator {

      @Override
      public void validate(TableMigrator migrator, TableMigrator.Result result) throws ModelException {
        ...
      }

      ...
    }