From a02b3e12587f22f5058dec355d8c012659790886 Mon Sep 17 00:00:00 2001 From: Kosadchiy <35429123+Kosadchiy@users.noreply.github.com> Date: Mon, 24 Aug 2020 14:06:29 +0300 Subject: issue: fix timestamp updating (#6210) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ᴜɴᴋɴᴡᴏɴ --- internal/db/issue.go | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit v1.2.3