discourse/db/migrate/20140715051412_add_auto_revoke_to_badges.rb
Sam 4c25fedf70 FEATURE: Reader badge
Read a every post in a topic that if 50 posts or longer
2014-07-15 15:16:41 +10:00

5 lines
152 B
Ruby

class AddAutoRevokeToBadges < ActiveRecord::Migration
def change
add_column :badges, :auto_revoke, :boolean, default: true, null: false
end
end