bigdir/db/migrate/075_add_members_mail_notifi...

10 lines
242 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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