File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ import (
21
21
22
22
// Attachment represent a attachment of issue/comment/release.
23
23
type Attachment struct {
24
- ID int64 `xorm:"pk autoincr"`
25
- UUID string `xorm:"uuid UNIQUE"`
26
- IssueID int64 `xorm:"INDEX"`
27
- ReleaseID int64 `xorm:"INDEX"`
24
+ ID int64 `xorm:"pk autoincr"`
25
+ UUID string `xorm:"uuid UNIQUE"`
26
+ IssueID int64 `xorm:"INDEX"`
27
+ ReleaseID int64 `xorm:"INDEX"`
28
28
CommentID int64
29
29
Name string
30
30
DownloadCount int64 `xorm:"DEFAULT 0"`
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ type Release struct {
28
28
LowerTagName string
29
29
Target string
30
30
Title string
31
- Sha1 string `xorm:"VARCHAR(40)"`
31
+ Sha1 string `xorm:"VARCHAR(40)"`
32
32
NumCommits int64
33
- NumCommitsBehind int64 `xorm:"-"`
34
- Note string `xorm:"TEXT"`
35
- IsDraft bool `xorm:"NOT NULL DEFAULT false"`
36
- IsPrerelease bool `xorm:"NOT NULL DEFAULT false"`
37
- IsTag bool `xorm:"NOT NULL DEFAULT false"`
33
+ NumCommitsBehind int64 `xorm:"-"`
34
+ Note string `xorm:"TEXT"`
35
+ IsDraft bool `xorm:"NOT NULL DEFAULT false"`
36
+ IsPrerelease bool `xorm:"NOT NULL DEFAULT false"`
37
+ IsTag bool `xorm:"NOT NULL DEFAULT false"`
38
38
39
39
Attachments []* Attachment `xorm:"-"`
40
40
You can’t perform that action at this time.
0 commit comments