mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 17:33:37 +08:00
7 lines
201 B
Ruby
7 lines
201 B
Ruby
class AddShowPostsToBadges < ActiveRecord::Migration[4.2]
|
|
def change
|
|
# show posts to users on badge show page
|
|
add_column :badges, :show_posts, :boolean, null: false, default: false
|
|
end
|
|
end
|