diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-01-15 00:55:03 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-14 17:55:03 +0100 |
commit | 28508792ba3341a404c070a6e4519d12661caf61 (patch) | |
tree | 87263376262d546c1207b2b050f356eb541b2df8 /modules/migrations/base/pullrequest.go | |
parent | 3e23dad075e280ea4e942feea2b2674fa657b828 (diff) | |
download | gitea-28508792ba3341a404c070a6e4519d12661caf61.tar.gz gitea-28508792ba3341a404c070a6e4519d12661caf61.zip |
Fix missing updated time on migrated issues and comments (#9744) (#9764)
* Fix missing updated time on migrated issues and comments
* Fix testing and missing updated on migrating pullrequest
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Diffstat (limited to 'modules/migrations/base/pullrequest.go')
-rw-r--r-- | modules/migrations/base/pullrequest.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/migrations/base/pullrequest.go b/modules/migrations/base/pullrequest.go index 42456fd314..b1602b8218 100644 --- a/modules/migrations/base/pullrequest.go +++ b/modules/migrations/base/pullrequest.go @@ -21,6 +21,7 @@ type PullRequest struct { Milestone string State string Created time.Time + Updated time.Time Closed *time.Time Labels []*Label PatchURL string |