diff --git a/internal/db/paste.go b/internal/db/paste.go index 24fdf9f..79ff6a5 100644 --- a/internal/db/paste.go +++ b/internal/db/paste.go @@ -24,7 +24,7 @@ type Paste struct { ID uint `gorm:"primaryKey"` Type PasteType `gorm:"index"` State PasteState `gorm:"index"` - CreatedBy uint `gorm:"index"` + CreatedBy uint `gorm:"index"` Content []byte Key string `gorm:"uniqueIndex"` DeleteToken string