discourse/db/migrate/20150123145128_add_automatic_membership_to_group.rb

9 lines
272 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddAutomaticMembershipToGroup < ActiveRecord::Migration[4.2]
def change
add_column :groups, :automatic_membership_email_domains, :text
add_column :groups, :automatic_membership_retroactive, :boolean, default: false
end
end