summaryrefslogtreecommitdiffstats
path: root/models/access.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-12 20:35:35 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-12 20:35:35 -0400
commit90f6aa8cd19e489723ddffc40d6507782c29756c (patch)
treee247229573a4d32ca1d508619951a9868690840f /models/access.go
parent23bba7633bbd8ae8f9f41404352c327f9e8c9fdc (diff)
downloadgitea-90f6aa8cd19e489723ddffc40d6507782c29756c.tar.gz
gitea-90f6aa8cd19e489723ddffc40d6507782c29756c.zip
Add repo mirror and import
Diffstat (limited to 'models/access.go')
-rw-r--r--models/access.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/access.go b/models/access.go
index 5bf93f1b1b..f20f8fa7cc 100644
--- a/models/access.go
+++ b/models/access.go
@@ -21,7 +21,7 @@ const (
type Access struct {
Id int64
UserName string `xorm:"unique(s)"`
- RepoName string `xorm:"unique(s)"`
+ RepoName string `xorm:"unique(s)"` // <user name>/<repo name>
Mode int `xorm:"unique(s)"`
Created time.Time `xorm:"created"`
}