mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-29 07:24:09 -04:00
correct badge query
This commit is contained in:
parent
833c50c460
commit
c113c36db7
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ class Badge < ActiveRecord::Base
|
|||
module Queries
|
||||
|
||||
ReadFaq = <<SQL
|
||||
SELECT user_id, read_faq
|
||||
SELECT user_id, read_faq granted_at
|
||||
FROM user_stats
|
||||
WHERE read_faq IS NOT NULL
|
||||
SQL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue