diff --git a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/versions/VersionsRepo.kt b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/versions/VersionsRepo.kt index e026f425924..ee7cbab700f 100644 --- a/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/versions/VersionsRepo.kt +++ b/repos/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/versions/VersionsRepo.kt @@ -25,7 +25,7 @@ interface VersionsRepo : Repo { suspend fun setTableVersion( tableName: String, version: Int, - onCreate: suspend T.() -> Unit, - onUpdate: suspend T.(from: Int, to: Int) -> Unit + onCreate: suspend T.() -> Unit = {}, + onUpdate: suspend T.(from: Int, to: Int) -> Unit = { _, _ ->} ) }