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>
This commit is contained in:
Lunny Xiao 2020-01-15 00:55:03 +08:00 committed by Antoine GIRARD
parent 3e23dad075
commit 28508792ba
6 changed files with 15 additions and 0 deletions

View file

@ -21,6 +21,7 @@ type PullRequest struct {
Milestone string
State string
Created time.Time
Updated time.Time
Closed *time.Time
Labels []*Label
PatchURL string