From 1e47e2df852689cc16dce3a4de9b162b00a28b05 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 17 Nov 2014 16:29:23 -0500 Subject: quick fix --- models/publickey.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') diff --git a/models/publickey.go b/models/publickey.go index 5a488c2a..f379e121 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 -- cgit v1.2.3