Sha256: a8bee9c38d9c5dfc3769b1c76b19a28a1cdf865fb554914a37bbd71595bfe6d1

Contents?: true

Size: 208 Bytes

Versions: 10

Compression:

Stored size: 208 Bytes

Contents

class AddTaggingsCountToTags < ActiveRecord::Migration
  def self.up
    add_column :tags, :taggings_count, :integer, :default => 0
  end
  
  def self.down
    remove_column :tags, :taggings_count
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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