summaryrefslogtreecommitdiffstats
path: root/db/migrate/009_add_hide_mail_pref.rb
blob: a22eafd93be93d69b2b740dc47b82ad12fc168e2 (plain)
1
2
3
4
5
6
7
8
9
class AddHideMailPref < ActiveRecord::Migration
  def self.up
    add_column :user_preferences, :hide_mail, :boolean, :default => false
  end

  def self.down
    remove_column :user_preferences, :hide_mail
  end
end