mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-04 23:59:29 +00:00
update defaults in VersionsRepo
This commit is contained in:
@@ -25,7 +25,7 @@ interface VersionsRepo<T> : Repo {
|
|||||||
suspend fun setTableVersion(
|
suspend fun setTableVersion(
|
||||||
tableName: String,
|
tableName: String,
|
||||||
version: Int,
|
version: Int,
|
||||||
onCreate: suspend T.() -> Unit,
|
onCreate: suspend T.() -> Unit = {},
|
||||||
onUpdate: suspend T.(from: Int, to: Int) -> Unit
|
onUpdate: suspend T.(from: Int, to: Int) -> Unit = { _, _ ->}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user