cirandas.net

ref: master

db/migrate/20150122164937_add_invite_friends_only_to_profile.rb


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

  def down
    remove_column :profiles, :invite_friends_only
  end
end