diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-03 20:51:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-03 20:51:17 +0000 |
commit | 948e2190f877fcc7ab93e8b4ab5b80da53a57911 (patch) | |
tree | 5d05626a09b7d5eb329ce72cdc50f9f98e8319a3 /redmine/db | |
parent | 362633d486e31503e1b9d82368cd274db4615f9d (diff) | |
download | redmine-948e2190f877fcc7ab93e8b4ab5b80da53a57911.tar.gz redmine-948e2190f877fcc7ab93e8b4ab5b80da53a57911.zip |
"hide my email address" preference added, so that it's not displayed on account/show
git-svn-id: http://redmine.rubyforge.org/svn/trunk@63 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'redmine/db')
-rw-r--r-- | redmine/db/migrate/009_add_hide_mail_pref.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redmine/db/migrate/009_add_hide_mail_pref.rb b/redmine/db/migrate/009_add_hide_mail_pref.rb new file mode 100644 index 000000000..a22eafd93 --- /dev/null +++ b/redmine/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 |