DiscoveredMigration
A migration the scan found, before anything about the database is known.
The two kinds carry different things, so they are separate types rather than one with nullable fields: a .sql file arrives with its text and checksum read, a class as a class that has not been constructed.
Inheritors
Types
Link copied to clipboard
class Code(val version: MigrationVersion?, val description: String, val script: String, val origin: String, val migrationClass: Class<*>) : DiscoveredMigration
A migration read off an OctaviusMigration class, which the scan has not constructed.
Link copied to clipboard
class Sql(val version: MigrationVersion?, val description: String, val script: String, val origin: String, val checksum: Long, val transactional: Boolean, val content: String) : DiscoveredMigration
A migration read out of a .sql file.