cirandas.net

ref: master

db/migrate/041_add_enabled_to_profile.rb


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

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