Add post image storage (#10)
CI / test (push) Successful in 6m15s

Adds migration 010, ordered attachment metadata, and transaction-safe image persistence for posts and replies.

Co-authored-by: codegirl-007 <s.raide@gmail.com>
This commit was merged in pull request #10.
This commit is contained in:
2026-08-29 08:00:37 +00:00
committed by codegirl007
parent c6f80e243d
commit 19fea892f3
9 changed files with 534 additions and 11 deletions
+12
View File
@@ -22,6 +22,18 @@ type Post struct {
UpdatedAt string
}
type PostImage struct {
ID string
PostID string
ObjectKey string
PublicUrl string
Description string
Position int16
Width int32
Height int32
CreatedAt string
}
type PostVote struct {
UserID string
PostID string