discourse/db/migrate/20150123145128_add_automati...

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