summaryrefslogtreecommitdiffstats
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
parent5d9ef2bb12d2dee4c3b27429184a81004ac2fe87 (diff)
downloadgitea-1e47e2df852689cc16dce3a4de9b162b00a28b05.tar.gz
gitea-1e47e2df852689cc16dce3a4de9b162b00a28b05.zip
quick fix
-rw-r--r--README.md1
-rw-r--r--README_ZH.md1
-rw-r--r--models/publickey.go2
3 files changed, 3 insertions, 1 deletions
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