Class MigrationExecutionOrdering

  • All Implemented Interfaces:
    Comparator<MigrationInfo>

    public final class MigrationExecutionOrdering
    extends Object
    implements Comparator<MigrationInfo>
    The ordering used by MigrationInfoService. It places
    • applied migrations before resolved pending migrations
    • lower versions before higher versions for pending migrations
    • versioned migrations before repeatable migrations