summaryrefslogtreecommitdiffstats
path: root/modules/migrations/base/pullrequest.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-01-15 00:55:03 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2020-01-14 17:55:03 +0100
commit28508792ba3341a404c070a6e4519d12661caf61 (patch)
tree87263376262d546c1207b2b050f356eb541b2df8 /modules/migrations/base/pullrequest.go
parent3e23dad075e280ea4e942feea2b2674fa657b828 (diff)
downloadgitea-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.go1
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