Sha256: 345bb226b38c87b06dc6354c99e774aae9bddd6e5ab0afeef9834d1d4857bd45

Contents?: true

Size: 185 Bytes

Versions: 10

Compression:

Stored size: 185 Bytes

Contents

class AddViewCountToAlbums < ActiveRecord::Migration
  def self.up
    add_column :albums, :view_count, :integer
  end

  def self.down
    remove_column :albums, :view_count
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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