aboutsummaryrefslogtreecommitdiff
path: root/models/publickey.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-04-10 22:21:12 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-04-10 22:21:12 +0800
commit94c7278194694fec728b518d4390b03ba6c237a4 (patch)
tree2aebf5fe63423b7b2eb14d58697bab1c95ffb3bb /models/publickey.go
parent16b6e5d50b665c5376b61ca7d02e3716a1c05ead (diff)
parent2577940c30f6a6d15390974ab36f8c3d1e00f9f4 (diff)
Merge branch 'master' of github.com:gogits/gogs into dev
Conflicts: web.go
Diffstat (limited to 'models/publickey.go')
-rw-r--r--models/publickey.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/publickey.go b/models/publickey.go
index 426e6b0b..ed47ff20 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -78,7 +78,7 @@ func init() {
type PublicKey struct {
Id int64
OwnerId int64 `xorm:"unique(s) index not null"`
- Name string `xorm:"unique(s) not null"` //UNIQUE(s)
+ Name string `xorm:"unique(s) not null"`
Fingerprint string
Content string `xorm:"TEXT not null"`
Created time.Time `xorm:"created"`