Skip to content

//runtime/com.squareup.sqldelight.db/AfterVersionWithDriver

AfterVersionWithDriver

[common] class AfterVersionWithDriver(afterVersion: Int, block: (SqlDriver) -> Unit)

Represents a block of code block that should be executed during a migration after the migration has finished migrating to afterVersion. Unlike AfterVersion, this version's lambda accepts a SqlDriver as a parameter to make migrations easier.

Constructors

AfterVersionWithDriver [common] fun AfterVersionWithDriver(afterVersion: Int, block: (SqlDriver) -> Unit)