diff options
Diffstat (limited to 'db/migrate/009_add_hide_mail_pref.rb')
-rw-r--r-- | db/migrate/009_add_hide_mail_pref.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/009_add_hide_mail_pref.rb b/db/migrate/009_add_hide_mail_pref.rb new file mode 100644 index 000000000..a22eafd93 --- /dev/null +++ b/db/migrate/009_add_hide_mail_pref.rb @@ -0,0 +1,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 |