Sha256: 016d75707ffbc69ca02e12ac4a7c9a292b82b01e641eb7d0789f6ce484d0085d

Contents?: true

Size: 209 Bytes

Versions: 228

Compression:

Stored size: 209 Bytes

Contents

class AddCommentCache < ActiveRecord::Migration
  def self.up
    add_column :activities, :comment_count, :integer, :default => 0
  end

  def self.down
    remove_column :activities, :comment_count
  end
end

Version data entries

228 entries across 214 versions & 12 rubygems

Version Path
muck-activities-3.2.2 db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.2.2 test/db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.2.1 test/db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.2.1 db/migrate/20090730044139_add_comment_cache.rb
muck-services-3.3.3 test/db/migrate/20090730044139_add_comment_cache.rb
muck-profiles-3.1.4 test/db/migrate/20090730044139_add_comment_cache.rb
muck-auth-3.5.4 test/db/migrate/20090730044139_add_comment_cache.rb
muck-auth-3.5.3 test/db/migrate/20090730044139_add_comment_cache.rb
muck-profiles-3.1.3 test/db/migrate/20090730044139_add_comment_cache.rb
muck-auth-3.5.2 test/db/migrate/20090730044139_add_comment_cache.rb
muck-invites-3.4.1 test/db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.2.0 db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.1.1 db/migrate/20090730044139_add_comment_cache.rb
muck-activities-3.1.0 db/migrate/20090730044139_add_comment_cache.rb
muck-friends-3.0.3 test/rails_test/db/migrate/20090730044139_add_comment_cache.rb
muck-contents-3.0.2 test/rails_test/db/migrate/20090730044139_add_comment_cache.rb
muck-profiles-3.0.2 test/rails_test/db/migrate/20090730044139_add_comment_cache.rb
muck-services-0.1.47 test/rails_root/db/migrate/20090730044139_add_comment_cache.rb
muck-invites-3.0.0 test/rails_test/db/migrate/20090730044139_add_comment_cache.rb
muck-friends-3.0.2 test/rails_test/db/migrate/20090730044139_add_comment_cache.rb