diff options
Diffstat (limited to 'models/attachment.go')
-rw-r--r-- | models/attachment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/attachment.go b/models/attachment.go index 583cb10b..fb4ec88d 100644 --- a/models/attachment.go +++ b/models/attachment.go @@ -20,7 +20,7 @@ import ( // Attachment represent a attachment of issue/comment/release. type Attachment struct { - ID int64 `xorm:"pk autoincr"` + ID int64 UUID string `xorm:"uuid UNIQUE"` IssueID int64 `xorm:"INDEX"` CommentID int64 |