Sha256: 399eb29701f7f5cbc5a341ea19c5d71b486e36125b94f4b22e6018680b47242c

Contents?: true

Size: 207 Bytes

Versions: 10

Compression:

Stored size: 207 Bytes

Contents

class AddActivitiesCount < ActiveRecord::Migration
  def self.up
    add_column :users, :activities_count, :integer, :default => 0
  end

  def self.down
    remove_column :users, :activities_count
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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