MigrationInfo
class MigrationInfo(val version: MigrationVersion?, val description: String, val script: String, val origin: String?, val checksum: Long?, val status: MigrationStatus, val applied: AppliedMigration?)
One migration, as the run sees it: what it is, where it came from, and what is going to happen to it.
Constructors
Link copied to clipboard
internal constructor(version: MigrationVersion?, description: String, script: String, origin: String?, checksum: Long?, status: MigrationStatus, applied: AppliedMigration?)
Properties
Link copied to clipboard
The history row, where there is one.
Link copied to clipboard
What the file hashes to now, or null for a class and for a migration that exists only in the history. The counterpart to AppliedMigration.checksum, which is what it hashed to when it ran - the two side by side are what a CHANGED status is reporting.
Link copied to clipboard
What its name said.
Link copied to clipboard
What is going to happen to it.
Link copied to clipboard
The version, or null for a repeatable migration.