mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 12:51:41 -05:00
0f9678fe49
Introduced badge triggers, introduced concept of badge that happens due to a post but has the post hidden Delta badge grant happens once a minute, backed by redis
6 lines
196 B
Ruby
6 lines
196 B
Ruby
class AddShowPostsToBadges < ActiveRecord::Migration
|
|
def change
|
|
# show posts to users on badge show page
|
|
add_column :badges, :show_posts, :boolean, null: false, default: false
|
|
end
|
|
end
|