From a9dc376409a3c21b2e8d02fb03b35c7878858724 Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Date: Tue, 13 May 2025 23:06:51 +0330 Subject: [PATCH] Add Rejected field to MediaAttachment model --- internal/models/mediaAttachment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/models/mediaAttachment.go b/internal/models/mediaAttachment.go index d870901..01cd9ae 100644 --- a/internal/models/mediaAttachment.go +++ b/internal/models/mediaAttachment.go @@ -7,5 +7,6 @@ type MediaAttachment struct { PreviewUrl string `json:"preview_url"` RemoteUrl string `json:"remote_url"` Approved bool `json:"-"` + Rejected bool `json:"-"` PostID string // Foreign key to Post }