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