Add resolution for tracking review_task discards

This commit is contained in:
Eli Ribble 2026-03-11 22:49:00 +00:00
parent 3ccc05d4c5
commit 10b4bf929f
No known key found for this signature in database
9 changed files with 210 additions and 50 deletions

View file

@ -69,6 +69,15 @@ var ReviewTasks = Table[
Generated: false,
AutoIncr: false,
},
Resolution: column{
Name: "resolution",
DBType: "public.reviewtaskresolutiontype",
Default: "NULL",
Comment: "",
Nullable: true,
Generated: false,
AutoIncr: false,
},
},
Indexes: reviewTaskIndexes{
ReviewTaskPkey: index{
@ -134,11 +143,12 @@ type reviewTaskColumns struct {
OrganizationID column
Reviewed column
ReviewerID column
Resolution column
}
func (c reviewTaskColumns) AsSlice() []column {
return []column{
c.Created, c.CreatorID, c.ID, c.OrganizationID, c.Reviewed, c.ReviewerID,
c.Created, c.CreatorID, c.ID, c.OrganizationID, c.Reviewed, c.ReviewerID, c.Resolution,
}
}