index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
models
/
access.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknown <joe2010xtmf@163.com>
2014-04-12 20:35:35 -0400
committer
Unknown <joe2010xtmf@163.com>
2014-04-12 20:35:35 -0400
commit
90f6aa8cd19e489723ddffc40d6507782c29756c
(
patch
)
tree
e247229573a4d32ca1d508619951a9868690840f
/
models/access.go
parent
23bba7633bbd8ae8f9f41404352c327f9e8c9fdc
(
diff
)
Add repo mirror and import
Diffstat
(limited to 'models/access.go')
-rw-r--r--
models/access.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/access.go b/models/access.go
index 5bf93f1b..f20f8fa7 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"`
}