discourse/db/migrate/20140723011456_add_show_posts_to_badges.rb

7 lines
196 B
Ruby
Raw Normal View History

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