diff --git a/db/migrate/20140716063802_add_badge_groupings.rb b/db/migrate/20140716063802_add_badge_groupings.rb new file mode 100644 index 00000000000..bdcb02e8803 --- /dev/null +++ b/db/migrate/20140716063802_add_badge_groupings.rb @@ -0,0 +1,13 @@ +class AddBadgeGroupings < ActiveRecord::Migration + def change + create_table :badge_groupings do |t| + t.string :name, null: false + t.string :description, null: false + t.integer :position, null: false + t.timestamps + end + + add_column :badges, :badge_grouping_id, :integer + + end +end