Package-level declarations

Types

Link copied to clipboard
class AppliedMigration(val version: MigrationVersion?, val description: String, val type: MigrationType, val script: String, val checksum: Long?, val state: MigrationState, val failedStatement: Int?, val executionTimeMs: Long, val installedBy: String, val installedOn: Instant)

A row of the history table: a migration that has run against this database, and how it went.

Link copied to clipboard
internal class MigrationHistory(schema: String, table: String)

The table recording what has run, and the only place this module writes anything of its own.

Link copied to clipboard
internal class MigrationLock(schema: String, table: String, timeout: Duration)

The advisory lock that makes two instances starting at once safe.

Link copied to clipboard

Where a migration got to.

Link copied to clipboard

What kind of thing a history row records.