cirandas.net

ref: master

db/migrate/20150121173654_add_invitation_moderation_to_profile.rb


1
2
3
4
5
6
7
8
9
class AddInvitationModerationToProfile < ActiveRecord::Migration
  def up
    add_column :profiles, :allow_members_to_invite, :boolean, :default => true
  end

  def down
    remove_column :profiles, :allow_members_to_invite
  end
end