summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-09-05 03:28:06 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-09-05 08:28:06 +0800
commita569d3dedc94433d7200d70a4a90168e7bbedb37 (patch)
tree3310fd6effdb52207ee6ee680f9cbc3a439b302b /models
parent32238e0ac90eb7170ae3be6c2a348a7514f0ec31 (diff)
downloadgitea-a569d3dedc94433d7200d70a4a90168e7bbedb37.tar.gz
gitea-a569d3dedc94433d7200d70a4a90168e7bbedb37.zip
Fix migration from pre-v15 to 1.2.0 (#2460)
Diffstat (limited to 'models')
-rw-r--r--models/migrations/v15.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/migrations/v15.go b/models/migrations/v15.go
index 90fc22c6d3..e29067c980 100644
--- a/models/migrations/v15.go
+++ b/models/migrations/v15.go
@@ -12,6 +12,7 @@ import (
// UserV15 describes the added field for User
type UserV15 struct {
+ KeepEmailPrivate bool
AllowCreateOrganization bool
}