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
@@ -17,7 +17,7 @@ type Attachment struct {
S3Key string
Filename string
ContentType string
SizeBytes int64
SizeBytes int
Sha256 string
Status string
ErrorCode *string
@@ -57,7 +57,7 @@ type Message struct {
type MessageAttachment struct {
MessageID uuid.UUID
AttachmentID uuid.UUID
Position int32
Position int
}
type Session struct {