009_add_hide_mail_pref.rb 222 Bytes
Newer Older
1
class AddHideMailPref < ActiveRecord::Migration[4.2]
2 3 4 5 6 7 8 9
  def self.up
    add_column :user_preferences, :hide_mail, :boolean, :default => false
  end

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