diff options
author | Kosadchiy <35429123+Kosadchiy@users.noreply.github.com> | 2020-08-24 14:06:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 19:06:29 +0800 |
commit | a02b3e12587f22f5058dec355d8c012659790886 (patch) | |
tree | e65099f882ed90d0e4e27bae9a37f7ee92fc50b2 /internal/db | |
parent | afb445bb57c7291a7741c60f8b3116afe5d8634d (diff) |
issue: fix timestamp updating (#6210)
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
Diffstat (limited to 'internal/db')
-rw-r--r-- | internal/db/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/db/issue.go b/internal/db/issue.go index 8a90fe19..bb935dd9 100644 --- a/internal/db/issue.go +++ b/internal/db/issue.go @@ -408,6 +408,7 @@ func (issue *Issue) ReadBy(uid int64) error { } func updateIssueCols(e Engine, issue *Issue, cols ...string) error { + cols = append(cols, "updated_unix") _, err := e.ID(issue.ID).Cols(cols...).Update(issue) return err } |