aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2019-04-14 18:43:56 +0200
committertechknowlogick <matti@mdranta.net>2019-04-14 12:43:56 -0400
commitd699de32f2f6fd2216c8d620c8f53011e511b56b (patch)
tree1588178184132c2ac6f84af763ba003c469dba4c /models/models.go
parent38889f09cbe039217f159838961b631f8f8d3b46 (diff)
downloadgitea-d699de32f2f6fd2216c8d620c8f53011e511b56b.tar.gz
gitea-d699de32f2f6fd2216c8d620c8f53011e511b56b.zip
add .gpg url (match github behaviour) (#6610)
* add .gpg url (match github behaviour) * wildcard * test to export maximum data * working POC * add comment for old imported keys * cleaning * Update routers/user/profile.go Co-Authored-By: sapk <sapk@users.noreply.github.com> * add migration script * add integration tests
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index e7ecc67fc5..352c07e0c3 100644
--- a/models/models.go
+++ b/models/models.go
@@ -108,6 +108,7 @@ func init() {
new(LFSMetaObject),
new(TwoFactor),
new(GPGKey),
+ new(GPGKeyImport),
new(RepoUnit),
new(RepoRedirect),
new(ExternalLoginUser),