class MigrationManager
Manages the migration status.
MigrationManager(type: <ERROR CLASS>, database: <ERROR CLASS>, ctx: <ERROR CLASS>)
Manages the migration status. |
val ctx: <ERROR CLASS> |
fun validate(ignoreAndUpdateVersion: Boolean): Unit
Validates the current migration version. If the version current migration version is different then the one stored in the database, it either updates the database version to the current one (ignoreAndUpdateVersion == true) or throws the MigrationException (ignoreAndUpdateVersion == false). |