aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v38.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v38.go')
-rw-r--r--models/migrations/v38.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v38.go b/models/migrations/v38.go
index 69c346335e..c85688db78 100644
--- a/models/migrations/v38.go
+++ b/models/migrations/v38.go
@@ -33,7 +33,7 @@ func removeCommitsUnitType(x *xorm.Engine) (err error) {
}
}
team.UnitTypes = ut
- if _, err := x.Id(team.ID).Cols("unit_types").Update(team); err != nil {
+ if _, err := x.ID(team.ID).Cols("unit_types").Update(team); err != nil {
return err
}
}