blob: 8dd3399c9fa522b26d62bf4f4cdb33f7044b4900 (
plain)
1
2
3
4
5
6
7
8
9
|
class AddHideMailPref < ActiveRecord::Migration[4.2]
def self.up
add_column :user_preferences, :hide_mail, :boolean, :default => false
end
def self.down
remove_column :user_preferences, :hide_mail
end
end
|