diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-05 11:22:14 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-05 11:22:14 -0400 |
commit | 3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17 (patch) | |
tree | 0ba3e63a6f24bbba576b2a25b8f9b52e5205ec10 /models/publickey.go | |
parent | 9791e70da67091d244728070b80ee92c98d6aa8b (diff) | |
download | gitea-3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17.tar.gz gitea-3ebc9b991a70e10c4b2c6319c1ff6195c0d75a17.zip |
Use gogits/session for oauth2
Diffstat (limited to 'models/publickey.go')
-rw-r--r-- | models/publickey.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/publickey.go b/models/publickey.go index 426e6b0be7..ed47ff209d 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"` |