From 1e47e2df852689cc16dce3a4de9b162b00a28b05 Mon Sep 17 00:00:00 2001
From: Unknwon <joe2010xtmf@163.com>
Date: Mon, 17 Nov 2014 16:29:23 -0500
Subject: [PATCH] quick fix

---
 README.md           | 1 +
 README_ZH.md        | 1 +
 models/publickey.go | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a33286bb44..156e364a0a 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ The goal of this project is to make the easiest, fastest and most painless way t
 - Mail service(register, issue)
 - Administration panel
 - Slack webhook integration
+- Drone CI integration
 - Supports MySQL, PostgreSQL and SQLite3
 - Social account login(GitHub, Google, QQ, Weibo)
 - Multi-language support(English, Simplified Chinese, Traditional Chinese, Germany, French, Dutch, and [more](https://crowdin.com/project/gogs))
diff --git a/README_ZH.md b/README_ZH.md
index cb1af2f420..ae60c36b34 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -35,6 +35,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
 - 支持邮件服务(注册、Issue)
 - 管理员面板
 - Slack Web 钩子集成
+- Drone CI 持续部署集成
 - 支持 MySQL、PostgreSQL 以及 SQLite3 数据库
 - 社交帐号登录(GitHub、Google、QQ、微博)
 - 多语言支持(英文、简体中文、繁体中文、德语、法语、荷兰语以及 [更多]([more](https://crowdin.com/project/gogs)))
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