diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-10-05 19:09:27 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-10-05 14:09:27 +0300 |
commit | bd41a04a5613a2e017b458351bea0f02b767b893 (patch) | |
tree | d13e42c1f9664e09ae432250caaeca78df70ee72 /modules/migrations/base/release.go | |
parent | fb7c23f911bebcb72f170f3d8bc8343546805f3b (diff) | |
download | gitea-bd41a04a5613a2e017b458351bea0f02b767b893.tar.gz gitea-bd41a04a5613a2e017b458351bea0f02b767b893.zip |
Add extra user information when migrating release (#8331)
* add extra user information when migrating release
* add migrations
* fix tests
Diffstat (limited to 'modules/migrations/base/release.go')
-rw-r--r-- | modules/migrations/base/release.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/migrations/base/release.go b/modules/migrations/base/release.go index 4ebc37315d..b2541f1bf5 100644 --- a/modules/migrations/base/release.go +++ b/modules/migrations/base/release.go @@ -25,6 +25,9 @@ type Release struct { Body string Draft bool Prerelease bool + PublisherID int64 + PublisherName string + PublisherEmail string Assets []ReleaseAsset Created time.Time Published time.Time |