forked from mtusi2026/mtusi2026lab4
refactor(db): use int for attachment size and add lookup query
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user