Package-level declarations

Types

Link copied to clipboard
internal sealed interface DiscoveredMigration

A migration the scan found, before anything about the database is known.

Link copied to clipboard
internal data class FoundFile(val fileName: String, val origin: String, val content: String)

A .sql file as it was found, before its name has been read or its checksum taken.

Link copied to clipboard
internal object MigrationChecksum

The number a .sql migration is recognised by on every run after the first.

Link copied to clipboard
internal object MigrationDiscovery

Finds every migration the configuration points at, and puts them in the order they would run.

Link copied to clipboard
internal object MigrationNames

Reads a migration's version and description out of its name.

Link copied to clipboard
internal data class ParsedName(val version: MigrationVersion?, val description: String)

What a migration's name says about it.

Link copied to clipboard
internal object SqlMigrationRules

What a .sql migration is allowed to say, checked while the database is still untouched.

Link copied to clipboard
internal object SqlSources

The two places .sql migrations come from, behind one call.

Properties

Link copied to clipboard

How a migration is named in a message: V2 add indexes, or R rebuild views for a repeatable one.