discourse/db/migrate/20161212123649_add_allow_membership_requests_to_groups.rb

6 lines
185 B
Ruby

class AddAllowMembershipRequestsToGroups < ActiveRecord::Migration[4.2]
def change
add_column :groups, :allow_membership_requests, :boolean, default: false, null: false
end
end