MigrationStatus

What is going to happen to one migration, or what already has.

Entries

Link copied to clipboard

Not applied yet. The next run will apply it.

Link copied to clipboard

Not applied yet, and its version is below one that already has been - somebody merged a branch late. The run refuses unless MigratorConfig.outOfOrder says to allow it, in which case it simply runs.

Link copied to clipboard

Applied, unchanged since. Nothing to do.

Link copied to clipboard

Applied and changed since, which the run refuses.

Link copied to clipboard

The database has run it and there is no file or class for it any more, which the run refuses.

Link copied to clipboard

A previous run died part-way through it, and the run refuses until somebody has looked.

Link copied to clipboard

Below the version this database was adopted at, so it is taken as already run.

Link copied to clipboard

Above MigratorConfig.target, so this run stops before it.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.