🐛 I am dumb

This commit is contained in:
2024-05-20 22:31:55 +08:00
parent ff450ddd9d
commit 2b131982b8
5 changed files with 16 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ import "gorm.io/datatypes"
type Attachment struct {
BaseModel
Uuid string `json:"uuid" gorm:"uniqueIndex"`
Uuid string `json:"uuid"`
Size int64 `json:"size"`
Name string `json:"name"`
Alternative string `json:"alt"`