summaryrefslogtreecommitdiffstats
path: root/db/migrate/075_add_members_mail_notification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/075_add_members_mail_notification.rb')
-rw-r--r--db/migrate/075_add_members_mail_notification.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/075_add_members_mail_notification.rb b/db/migrate/075_add_members_mail_notification.rb
new file mode 100644
index 000000000..d83ba8dd0
--- /dev/null
+++ b/db/migrate/075_add_members_mail_notification.rb
@@ -0,0 +1,9 @@
+class AddMembersMailNotification < ActiveRecord::Migration
+ def self.up
+ add_column :members, :mail_notification, :boolean, :default => false, :null => false
+ end
+
+ def self.down
+ remove_column :members, :mail_notification
+ end
+end