diff --git a/pkg/internal/models/attachments.go b/pkg/internal/models/attachments.go index 82108e1..7b1e91f 100644 --- a/pkg/internal/models/attachments.go +++ b/pkg/internal/models/attachments.go @@ -65,7 +65,8 @@ type Attachment struct { AccountID uint `json:"account_id"` // Outdated fields, just for backward compatibility - IsMature bool `json:"is_mature" gorm:"-"` + IsUploaded bool `json:"is_uploaded" gorm:"-"` + IsMature bool `json:"is_mature" gorm:"-"` } // Data model for in progress multipart attachments