mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-13 15:33:23 +00:00
update defaults in VersionsRepo
This commit is contained in:
1 parent
8bee29f683
commit
6bbe3a271f
1 file changed
+2
-2
+2
-2
@@ -25,7 +25,7 @@ interface VersionsRepo<T> : 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 = { _, _ ->}
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user