DBMigrationManagerEventSourcing

class DBMigrationManagerEventSourcing(jdbcURL: String, dbUser: String, dbPassword: String)(source)

Applies and rolls back the event-sourcing tables (events, checkpoints, snapshots, subscription leases) with Liquibase. Its change log tables are suffixed _EVENT_SOURCING, so it can share a database with an application's own Liquibase migrations.

Constructors

Link copied to clipboard
constructor(jdbcURL: String, dbUser: String, dbPassword: String)

Functions

Link copied to clipboard
fun migrate()
Link copied to clipboard
fun rollBackToDate(datetime: Instant)
Link copied to clipboard
fun rollBackToTag(toTargetTag: Int = 0)