This commit is contained in:
stuzer05 2023-02-24 23:06:41 +02:00
parent 0ab85af1ce
commit 5eea230714
1 changed files with 19 additions and 0 deletions

View File

@ -20,3 +20,22 @@ func AddNeedApprovalToActionRun(x *xorm.Engine) error {
return x.Sync(new(ActionRun))
}
// AddTimeEstimateColumnToIssueTable: add TimeEstimate column
func AddTimeEstimateColumnToIssueTable(x *xorm.Engine) error {
type Issue struct {
TimeEstimate int64
}
return x.Sync(new(Issue))
}
// AddColumnsToCommentTable: add TimeTracked column
func AddColumnsToCommentTable(x *xorm.Engine) error {
type Comment struct {
TimeTracked int64
TimeEstimate int64
}
return x.Sync(new(Comment))
}