diff options
Diffstat (limited to 'models/migrations/v39.go')
-rw-r--r-- | models/migrations/v39.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v39.go b/models/migrations/v39.go index a536cd9d62..41279484e1 100644 --- a/models/migrations/v39.go +++ b/models/migrations/v39.go @@ -56,7 +56,7 @@ func addTimetracking(x *xorm.Engine) error { changes = true } if changes { - if _, err := x.Id(unit.ID).Cols("config").Update(unit); err != nil { + if _, err := x.ID(unit.ID).Cols("config").Update(unit); err != nil { return err } } |