Sha256: a3289bfd1c7ee350f5dbbd21264f56bb6c2852c74e3d4954bf2c40924a081860
Contents?: true
Size: 465 Bytes
Versions: 10
Compression:
Stored size: 465 Bytes
Contents
class AddNotificationPreferences < ActiveRecord::Migration def self.up add_column :users, :notify_comments, :boolean, :default => true add_column :users, :notify_friend_requests, :boolean, :default => true add_column :users, :notify_community_news, :boolean, :default => true end def self.down remove_column :users, :notify_comments remove_column :users, :notify_friend_requests remove_column :users, :notify_community_news end end
Version data entries
10 entries across 10 versions & 1 rubygems