run

fun run(session: OctaviusSession, migration: DiscoveredMigration)

Applies one migration and records it, taking the SQL or the Kotlin path according to what it is.

Where the history row is written relative to the transaction is the difference between the two, and is described on the class.

Parameters

session

The session to run it on.

migration

The migration to apply.