mirror of
https://github.com/go-gitea/gitea
synced 2024-06-03 03:46:51 +02:00
Add comments for OriginalID
This commit is contained in:
parent
35ab3bb1d2
commit
4d2cb07cd4
|
@ -111,7 +111,7 @@ type Review struct {
|
||||||
ReviewerTeam *organization.Team `xorm:"-"`
|
ReviewerTeam *organization.Team `xorm:"-"`
|
||||||
OriginalAuthor string
|
OriginalAuthor string
|
||||||
OriginalAuthorID int64
|
OriginalAuthorID int64
|
||||||
OriginalID int64
|
OriginalID int64 // ID from the upstream syncing source
|
||||||
Issue *Issue `xorm:"-"`
|
Issue *Issue `xorm:"-"`
|
||||||
IssueID int64 `xorm:"index"`
|
IssueID int64 `xorm:"index"`
|
||||||
Content string `xorm:"TEXT"`
|
Content string `xorm:"TEXT"`
|
||||||
|
|
|
@ -42,7 +42,7 @@ type Review struct {
|
||||||
CreatedAt time.Time `yaml:"created_at"`
|
CreatedAt time.Time `yaml:"created_at"`
|
||||||
State string // PENDING, APPROVED, REQUEST_CHANGES, or COMMENT
|
State string // PENDING, APPROVED, REQUEST_CHANGES, or COMMENT
|
||||||
Comments []*ReviewComment
|
Comments []*ReviewComment
|
||||||
OriginalID int64
|
OriginalID int64 // ID from the upstream syncing source
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetExternalName ExternalUserMigrated interface
|
// GetExternalName ExternalUserMigrated interface
|
||||||
|
@ -65,5 +65,5 @@ type ReviewComment struct {
|
||||||
Reactions []*Reaction
|
Reactions []*Reaction
|
||||||
CreatedAt time.Time `yaml:"created_at"`
|
CreatedAt time.Time `yaml:"created_at"`
|
||||||
UpdatedAt time.Time `yaml:"updated_at"`
|
UpdatedAt time.Time `yaml:"updated_at"`
|
||||||
OriginalID int64
|
OriginalID int64 // ID from the upstream syncing source
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user