refactor(db): use int for attachment size and add lookup query

This commit is contained in:
kk10
2026-11-02 21:16:58 +03:00
parent 45c9f7731d
commit 983bbaa55e
9 changed files with 49 additions and 16 deletions
+2 -2
View File
@@ -139,7 +139,7 @@ type ListChatsAfterParams struct {
UserID uuid.UUID
AfterCreatedAt time.Time
AfterID uuid.UUID
Lim int32
Lim int
}
type ListChatsAfterRow struct {
@@ -196,7 +196,7 @@ LIMIT $2
type ListChatsFirstPageParams struct {
UserID uuid.UUID
Lim int32
Lim int
}
type ListChatsFirstPageRow struct {