summaryrefslogtreecommitdiffstats
path: root/models/publickey.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-22 16:00:46 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-22 16:00:46 -0400
commit59ffdbf6f80328f9b9074930444dedd936aeae51 (patch)
tree486e9ad694a510db04453e259010ed60bd215ffd /models/publickey.go
parentb3cfd9fe0c293ba9d84d38ec140db2c01b1e3109 (diff)
downloadgitea-59ffdbf6f80328f9b9074930444dedd936aeae51.tar.gz
gitea-59ffdbf6f80328f9b9074930444dedd936aeae51.zip
Add create, list, view issue
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 9e7cc6f740..3f2fcabd3b 100644
--- a/models/publickey.go
+++ b/models/publickey.go
@@ -80,7 +80,7 @@ type PublicKey struct {
OwnerId int64 `xorm:"index"`
Name string `xorm:"unique not null"`
Fingerprint string
- Content string `xorm:"text not null"`
+ Content string `xorm:"TEXT not null"`
Created time.Time `xorm:"created"`
Updated time.Time `xorm:"updated"`
}