mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
correct badge query
This commit is contained in:
@ -21,7 +21,8 @@ class Badge < ActiveRecord::Base
|
|||||||
module Queries
|
module Queries
|
||||||
|
|
||||||
ReadFaq = <<SQL
|
ReadFaq = <<SQL
|
||||||
SELECT user_id, read_faq
|
SELECT user_id, read_faq granted_at
|
||||||
|
FROM user_stats
|
||||||
WHERE read_faq IS NOT NULL
|
WHERE read_faq IS NOT NULL
|
||||||
SQL
|
SQL
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user