fix build

This commit is contained in:
2024-09-07 22:42:13 +06:00
parent b879426f9d
commit 9af72d5d0f
6 changed files with 19 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ class ExposedPollsToMessagesInfoRepo(
it[messageIdColumn] = v.messageId.long
}
override fun insertKey(k: PollId, v: ShortMessageInfo, it: InsertStatement<Number>) {
override fun insertKey(k: PollId, v: ShortMessageInfo, it: UpdateBuilder<Int>) {
it[keyColumn] = k.string
}
}

View File

@@ -27,7 +27,7 @@ class ExposedPollsToPostsIdsRepo(
it[postIdColumn] = v.string
}
override fun insertKey(k: PollId, v: PostId, it: InsertStatement<Number>) {
override fun insertKey(k: PollId, v: PostId, it: UpdateBuilder<Int>) {
it[keyColumn] = k.string
}
}

View File

@@ -33,7 +33,7 @@ class ExposedRatingsRepo (
it[ratingsColumn] = v.double
}
override fun insertKey(k: PostId, v: Rating, it: InsertStatement<Number>) {
override fun insertKey(k: PostId, v: Rating, it: UpdateBuilder<Int>) {
it[keyColumn] = k.string
}