mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
BUGFIX: ooops, forgot a comma :(
This commit is contained in:
parent
90edaec9f0
commit
fc048f067f
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class Vanilla < Thor
|
|||
SET views = :views,
|
||||
closed = :closed,
|
||||
pinned_at = :pinned_at,
|
||||
last_posted_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id)
|
||||
last_posted_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id),
|
||||
bumped_at = (SELECT MAX(created_at) FROM posts WHERE topic_id = :topic_id)
|
||||
WHERE id = :topic_id
|
||||
SQL
|
||||
|
|
Loading…
Reference in a new issue