discourse/db/migrate/20140703022838_add_fields_to_badges.rb
Sam 9a9ad9bda8 FEATURE: Badge progress
- Refactor model so it stores backfill query
- Implement autobiographer
- Remove sample badge
- Correct featured badges to only include a badge once
2014-07-03 17:29:44 +10:00

7 lines
234 B
Ruby

class AddFieldsToBadges < ActiveRecord::Migration
def change
add_column :badges, :listable, :boolean, default: true
add_column :badges, :target_posts, :boolean, default: false
add_column :badges, :query, :text
end
end