mirror of https://github.com/go-gitea/gitea
Commit
This commit is contained in:
parent
0ab85af1ce
commit
5eea230714
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue