We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d605c commit e35bbb2Copy full SHA for e35bbb2
models/attachment.go
@@ -23,10 +23,10 @@ type Attachment struct {
23
ID int64 `xorm:"pk autoincr"`
24
UUID string `xorm:"uuid UNIQUE"`
25
IssueID int64 `xorm:"INDEX"`
26
+ ReleaseID int64 `xorm:"INDEX"`
27
CommentID int64
- ReleaseID int64 `xorm:"INDEX"`
28
Name string
29
- DownloadCount int64
+ DownloadCount int64 `xorm:"DEFAULT 0"`
30
Created time.Time `xorm:"-"`
31
CreatedUnix int64
32
}
0 commit comments