Sha256: 4f42f9799aa4dc7196be88c25b54831c06a1dfe52784da6336201d257467b34f

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

class AddNotifyToComments < ActiveRecord::Migration
  
  def self.up
    add_column :comments, :notify_by_email, :boolean, :default => true
  end
  
  def self.down
    remove_column :comments, :notify_by_email
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/062_add_notify_to_comments.rb
community_engine-3.0.0 db/migrate/062_add_notify_to_comments.rb
community_engine-2.3.2 db/migrate/062_add_notify_to_comments.rb
community_engine-2.3.1 db/migrate/062_add_notify_to_comments.rb
community_engine-2.3.0 db/migrate/062_add_notify_to_comments.rb
community_engine-2.1.0 db/migrate/062_add_notify_to_comments.rb
community_engine-2.0.0 db/migrate/062_add_notify_to_comments.rb
community_engine-2.0.0.beta3 db/migrate/062_add_notify_to_comments.rb
community_engine-2.0.0.beta2 db/migrate/062_add_notify_to_comments.rb
community_engine-2.0.0.beta1 db/migrate/062_add_notify_to_comments.rb