cirandas.net

ref: master

db/migrate/081_add_visible_to_profiles.rb


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

  def self.down
    remove_column :profiles, :visible
  end
end