mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-22 16:23:50 +00:00
update defaults in VersionsRepo
This commit is contained in:
parent
8bee29f683
commit
6bbe3a271f
@ -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 = { _, _ ->}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user