MigrationValidation

internal object MigrationValidation

Puts what was found next to what has run, and decides what each migration's situation is.

Nothing here refuses anything - refuse does that, separately, and only a run calls it. info() wants the same picture without the argument, which is why merging and refusing are two functions rather than one that throws halfway through building its answer.

Functions

Link copied to clipboard
Link copied to clipboard
fun refuse(infos: List<MigrationInfo>, outOfOrder: Boolean)

Stops the run where the picture says it should not go on.

Link copied to clipboard

The migrations a run would apply, in the order it would apply them.