discourse/db/migrate/20150410002033_add_primary_group_to_groups.rb
Sam 75890aed26 FEATURE: allow admins to choose a group as a primary group
FEATURE: allow admins to set a default title for a group
2015-04-10 12:17:28 +10:00

5 lines
157 B
Ruby

class AddPrimaryGroupToGroups < ActiveRecord::Migration
def change
add_column :groups, :primary_group, :boolean, default: false, null: false
end
end