aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo/release.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo/release.go')
-rw-r--r--models/repo/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo/release.go b/models/repo/release.go
index f7b24044b9..c8dd7fbc7a 100644
--- a/models/repo/release.go
+++ b/models/repo/release.go
@@ -79,7 +79,7 @@ type Release struct {
RenderedNote string `xorm:"-"`
IsDraft bool `xorm:"NOT NULL DEFAULT false"`
IsPrerelease bool `xorm:"NOT NULL DEFAULT false"`
- IsTag bool `xorm:"NOT NULL DEFAULT false"`
+ IsTag bool `xorm:"NOT NULL DEFAULT false"` // will be true only if the record is a tag and has no related releases
Attachments []*Attachment `xorm:"-"`
CreatedUnix timeutil.TimeStamp `xorm:"INDEX"`
}