🐛 Fix backward compability

This commit is contained in:
LittleSheep 2024-12-28 16:37:23 +08:00
parent 0c33c2d86c
commit e297b1b4ea

View File

@ -65,7 +65,8 @@ type Attachment struct {
AccountID uint `json:"account_id"` AccountID uint `json:"account_id"`
// Outdated fields, just for backward compatibility // 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 // Data model for in progress multipart attachments