mirror of
https://github.com/go-gitea/gitea
synced 2024-06-03 03:46:51 +02:00
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))
|
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
Block a user