summaryrefslogtreecommitdiffstats
path: root/models/publickey.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-17 16:29:23 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-17 16:29:23 -0500
commit1e47e2df852689cc16dce3a4de9b162b00a28b05 (patch)
treef11448b65bb7315f7001356ed225f954108e0323 /models/publickey.go
parent5d9ef2bb12d2dee4c3b27429184a81004ac2fe87 (diff)
downloadgitea-1e47e2df852689cc16dce3a4de9b162b00a28b05.tar.gz
gitea-1e47e2df852689cc16dce3a4de9b162b00a28b05.zip
quick fix
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 5a488c2af6..f379e12188 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -81,7 +81,7 @@ type PublicKey struct {
Id int64
OwnerId int64 `xorm:"UNIQUE(s) INDEX NOT NULL"`
Name string `xorm:"UNIQUE(s) NOT NULL"`
- Fingerprint string `xorm:"UNIQUE NOT NULL"`
+ Fingerprint string `xorm:"INDEX NOT NULL"`
Content string `xorm:"TEXT NOT NULL"`
Created time.Time `xorm:"CREATED"`
Updated time.Time