Add comments for OriginalID

This commit is contained in:
Chongyi Zheng 2023-08-24 13:15:17 -04:00
parent 35ab3bb1d2
commit 4d2cb07cd4
No known key found for this signature in database
GPG Key ID: E3C2287691E40E35
2 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ type Review struct {
ReviewerTeam *organization.Team `xorm:"-"`
OriginalAuthor string
OriginalAuthorID int64
OriginalID int64
OriginalID int64 // ID from the upstream syncing source
Issue *Issue `xorm:"-"`
IssueID int64 `xorm:"index"`
Content string `xorm:"TEXT"`

View File

@ -42,7 +42,7 @@ type Review struct {
CreatedAt time.Time `yaml:"created_at"`
State string // PENDING, APPROVED, REQUEST_CHANGES, or COMMENT
Comments []*ReviewComment
OriginalID int64
OriginalID int64 // ID from the upstream syncing source
}
// GetExternalName ExternalUserMigrated interface
@ -65,5 +65,5 @@ type ReviewComment struct {
Reactions []*Reaction
CreatedAt time.Time `yaml:"created_at"`
UpdatedAt time.Time `yaml:"updated_at"`
OriginalID int64
OriginalID int64 // ID from the upstream syncing source
}