aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v70.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v70.go')
-rw-r--r--models/migrations/v70.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/models/migrations/v70.go b/models/migrations/v70.go
index ea7ead60d8..7d34c89d11 100644
--- a/models/migrations/v70.go
+++ b/models/migrations/v70.go
@@ -14,7 +14,6 @@ import (
)
func addIssueDependencies(x *xorm.Engine) (err error) {
-
type IssueDependency struct {
ID int64 `xorm:"pk autoincr"`
UserID int64 `xorm:"NOT NULL"`
@@ -90,7 +89,7 @@ func addIssueDependencies(x *xorm.Engine) (err error) {
Created time.Time `xorm:"-"`
}
- //Updating existing issue units
+ // Updating existing issue units
units := make([]*RepoUnit, 0, 100)
err = x.Where("`type` = ?", v16UnitTypeIssues).Find(&units)
if err != nil {